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_Characteristics.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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.2 kB / 17.69 MB, free: 5.098 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.001353/0.001353, allocations: 192 kB / 18.63 MB, free: 4.242 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.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009044/0.0009045, allocations: 49.8 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08352, allocations: 49.44 MB / 351.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.166/0.2495, allocations: 24.75 MB / 376.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.2614, allocations: 7.355 MB / 383.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/0.2658, allocations: 186.4 kB / 383.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01673/0.2826, allocations: 8.781 MB / 392.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008757/0.2914, allocations: 2.918 MB / 395.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.2955, allocations: 1.707 MB / 397.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.3071, allocations: 10.72 MB / 407.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02701/0.3341, allocations: 21.83 MB / 429.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/0.3417, allocations: 5.705 MB / 435.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009409/0.3511, allocations: 6.241 MB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003994/0.3551, allocations: 1.676 MB / 443.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006112/0.3612, allocations: 2.035 MB / 445.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.3652, allocations: 3.145 MB / 448.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.3758, allocations: 6.098 MB / 454.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.3985, allocations: 22.33 MB / 477 MB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3985, allocations: 0 / 477 MB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3985, allocations: 0 / 477 MB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004994/0.399, allocations: 4 kB / 477 MB, free: 7.918 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03705/0.4361, allocations: 12.71 MB / 489.7 MB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4362, allocations: 12.03 kB / 489.7 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03411/0.4703, allocations: 6.197 MB / 495.9 MB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.4855, allocations: 6.909 MB / 0.491 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006308/0.4862, allocations: 0.6985 MB / 0.4917 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0035/0.4897, allocations: 0.9178 MB / 0.4926 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03156/0.5213, allocations: 15.75 MB / 0.508 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.5215, allocations: 11.91 kB / 0.508 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.5226, allocations: 384 kB / 0.5084 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004776/0.5231, allocations: 0.5586 MB / 0.5089 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3239/0.8471, allocations: 14.77 MB / 0.5234 GB, free: 116.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06947/0.9166, allocations: 50.98 MB / 0.5731 GB, free: 82.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.9336, allocations: 26.47 MB / 0.599 GB, free: 56.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/0.9376, allocations: 3.218 MB / 0.6021 GB, free: 54.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.9379, allocations: 175.8 kB / 0.6023 GB, free: 54.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.938, allocations: 73.67 kB / 0.6024 GB, free: 54.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 5.42e-06/0.938, allocations: 0 / 0.6024 GB, free: 54.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03311/0.9711, allocations: 17.29 MB / 0.6193 GB, free: 37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.9712, allocations: 90.58 kB / 0.6193 GB, free: 36.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.9753, allocations: 3.684 MB / 0.6229 GB, free: 33.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004494/0.9758, allocations: 97.7 kB / 0.623 GB, free: 33.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.9772, allocations: 3.981 MB / 0.6269 GB, free: 29.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008387/0.978, allocations: 1.377 MB / 0.6283 GB, free: 27.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.9794, allocations: 1.14 MB / 0.6294 GB, free: 26.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.9794, allocations: 301.1 kB / 0.6297 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/0.9827, allocations: 2.795 MB / 0.6324 GB, free: 23.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/0.9868, allocations: 4.959 MB / 0.6372 GB, free: 17.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007852/0.9946, allocations: 8.306 MB / 0.6454 GB, free: 8.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.792e-05/0.9947, allocations: 20 kB / 0.6454 GB, free: 8.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01295/1.008, allocations: 9.1 MB / 0.6543 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/1.008, allocations: 39.94 kB / 0.6543 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.008, allocations: 75.94 kB / 0.6544 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/1.011, allocations: 1.223 MB / 0.6556 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/1.016, allocations: 1.322 MB / 0.6569 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.03, allocations: 9.915 MB / 0.6665 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/1.034, allocations: 327.4 kB / 0.6668 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006422/1.035, allocations: 284 kB / 0.6671 GB, free: 1.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005187/1.04, allocations: 3.717 MB / 0.6708 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008054/1.041, allocations: 399.1 kB / 0.6711 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.052, allocations: 6.697 MB / 0.6777 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009096/1.061, allocations: 5.595 MB / 0.6831 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.061, allocations: 16 kB / 0.6831 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/1.061, allocations: 19.92 kB / 0.6832 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.088, allocations: 15.76 MB / 0.6986 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.088, allocations: 4 kB / 0.6986 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/1.091, allocations: 0.7216 MB / 0.6993 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.172/1.263, allocations: 1.109 MB / 0.7004 GB, free: 153.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009062/1.264, allocations: 91.53 kB / 0.7004 GB, free: 153.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.277, allocations: 8.84 MB / 0.7091 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/1.277, allocations: 9.172 kB / 0.7091 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.294, allocations: 9.848 MB / 0.7187 GB, free: 146.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.297, allocations: 0.9588 MB / 0.7196 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007251/1.298, allocations: 81.55 kB / 0.7197 GB, free: 145.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.3, allocations: 197.9 kB / 0.7199 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/1.301, allocations: 289.4 kB / 0.7202 GB, free: 145.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.301, allocations: 120.9 kB / 0.7203 GB, free: 145.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003216/1.304, allocations: 2.491 MB / 0.7227 GB, free: 144.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.32e-07/1.304, allocations: 0 / 0.7227 GB, free: 144.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00474/1.309, allocations: 1.617 MB / 0.7243 GB, free: 144.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005622/1.309, allocations: 282.3 kB / 0.7246 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01014/1.32, allocations: 7.134 MB / 0.7315 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.32, allocations: 0 / 0.7315 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005368/1.325, allocations: 3.402 MB / 0.7349 GB, free: 140.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.329, allocations: 0.9738 MB / 0.7358 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.353, allocations: 16.37 MB / 0.7518 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005512/1.359, allocations: 6.189 MB / 0.7578 GB, free: 122.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004384/1.363, allocations: 1.913 MB / 0.7597 GB, free: 121.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009845/1.364, allocations: 346.6 kB / 0.76 GB, free: 121 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.364, allocations: 0 / 0.76 GB, free: 121 MB / 478.1 MB Notification: Performance of Templates: time 0.09524/1.46, allocations: 63.8 MB / 0.8223 GB, free: 59.29 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches