Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 103 kB / 17.74 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 192.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 43.94 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2916, allocations: 49.44 MB / 401.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0267/0.3183, allocations: 24.84 MB / 426.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3342, allocations: 7.825 MB / 434.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004864/0.3391, allocations: 183.4 kB / 434.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01854/0.3577, allocations: 8.353 MB / 442.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.3691, allocations: 2.991 MB / 445.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.3745, allocations: 1.808 MB / 447.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.3888, allocations: 11.11 MB / 458.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03649/0.4253, allocations: 23.3 MB / 481.9 MB, free: 8.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009846/0.4352, allocations: 5.927 MB / 487.8 MB, free: 2.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.4461, allocations: 6.44 MB / 494.2 MB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004617/0.4508, allocations: 1.719 MB / 495.9 MB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006799/0.4576, allocations: 2.121 MB / 498.1 MB, free: 7.871 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006116/0.4637, allocations: 3.394 MB / 0.4897 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01326/0.477, allocations: 6.35 MB / 0.4959 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02931/0.5064, allocations: 23.11 MB / 0.5185 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.5064, allocations: 4 kB / 0.5185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5064, allocations: 0 / 0.5185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007366/0.5072, allocations: 3.938 kB / 0.5185 GB, free: 6.914 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04377/0.551, allocations: 13.38 MB / 0.5315 GB, free: 9.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.551, allocations: 8.031 kB / 0.5316 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03625/0.5873, allocations: 6.262 MB / 0.5377 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.502/1.089, allocations: 7.246 MB / 0.5447 GB, free: 113.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007701/1.09, allocations: 0.7204 MB / 0.5455 GB, free: 112.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/1.095, allocations: 0.9446 MB / 0.5464 GB, free: 112.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/1.138, allocations: 16.13 MB / 0.5621 GB, free: 105.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006451/1.139, allocations: 19.17 kB / 0.5621 GB, free: 105.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004382/1.143, allocations: 401.5 kB / 0.5625 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005944/1.144, allocations: 0.5593 MB / 0.5631 GB, free: 105.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03042/1.174, allocations: 15.11 MB / 0.5778 GB, free: 90.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08333/1.257, allocations: 52 MB / 0.6286 GB, free: 37.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.275, allocations: 20.09 MB / 0.6482 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005865/1.281, allocations: 3.633 MB / 0.6518 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/1.282, allocations: 183.7 kB / 0.652 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/1.282, allocations: 82.06 kB / 0.652 GB, free: 11.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 7.404e-06/1.282, allocations: 0 / 0.652 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.05163/1.333, allocations: 20.63 MB / 0.6722 GB, free: 7.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/1.333, allocations: 102.9 kB / 0.6723 GB, free: 6.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/1.34, allocations: 4.489 MB / 0.6767 GB, free: 2.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007937/1.341, allocations: 101.7 kB / 0.6768 GB, free: 2.316 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.344, allocations: 4.187 MB / 0.6808 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.346, allocations: 1.534 MB / 0.6823 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/1.348, allocations: 1.199 MB / 0.6835 GB, free: 11.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.348, allocations: 305.1 kB / 0.6838 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/1.353, allocations: 3.065 MB / 0.6868 GB, free: 7.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006186/1.359, allocations: 5.207 MB / 0.6919 GB, free: 1.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.371, allocations: 8.875 MB / 0.7006 GB, free: 7.969 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.489e-05/1.371, allocations: 20 kB / 0.7006 GB, free: 7.949 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0189/1.39, allocations: 9.862 MB / 0.7102 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/1.39, allocations: 35.94 kB / 0.7102 GB, free: 14.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/1.39, allocations: 68 kB / 0.7103 GB, free: 13.97 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/1.394, allocations: 1.403 MB / 0.7117 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006476/1.401, allocations: 1.377 MB / 0.713 GB, free: 11.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/1.421, allocations: 12.66 MB / 0.7254 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/1.427, allocations: 359.4 kB / 0.7257 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.428, allocations: 296 kB / 0.726 GB, free: 13.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008659/1.437, allocations: 3.881 MB / 0.7298 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.438, allocations: 466.3 kB / 0.7302 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.457, allocations: 8.502 MB / 0.7385 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2735/1.73, allocations: 6.248 MB / 0.7446 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.854e-05/1.731, allocations: 15.84 kB / 0.7447 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.714e-05/1.731, allocations: 26.06 kB / 0.7447 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/1.763, allocations: 17.4 MB / 0.7617 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.763, allocations: 18.61 kB / 0.7617 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.767, allocations: 0.7977 MB / 0.7625 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003887/1.77, allocations: 1.285 MB / 0.7637 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/1.771, allocations: 107 kB / 0.7638 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.786, allocations: 11.56 MB / 0.7751 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.786, allocations: 6.969 kB / 0.7751 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.803, allocations: 11.2 MB / 0.7861 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.806, allocations: 1.086 MB / 0.7871 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/1.807, allocations: 87.75 kB / 0.7872 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/1.811, allocations: 236.4 kB / 0.7874 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.812, allocations: 328 kB / 0.7877 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005013/1.813, allocations: 135.3 kB / 0.7879 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005844/1.818, allocations: 3.106 MB / 0.7909 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/1.818, allocations: 3.594 kB / 0.7909 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007446/1.826, allocations: 1.726 MB / 0.7926 GB, free: 146.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/1.828, allocations: 0.5443 MB / 0.7931 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.842, allocations: 7.985 MB / 0.8009 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.842, allocations: 0 / 0.8009 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006841/1.849, allocations: 3.93 MB / 0.8048 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00699/1.856, allocations: 1.046 MB / 0.8058 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/1.89, allocations: 17.77 MB / 0.8231 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009646/1.9, allocations: 6.321 MB / 0.8293 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/1.902, allocations: 423.3 kB / 0.8297 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.834e-06/1.902, allocations: 0 / 0.8297 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.524/2.426, allocations: 228 MB / 1.052 GB, free: 91.56 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches