Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 110.1 kB / 17.16 MB, free: 6.309 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.001657/0.001658, allocations: 194 kB / 18.08 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 51.92 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1122, allocations: 46.62 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02664/0.1389, allocations: 26.61 MB / 353.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.1572, allocations: 7.943 MB / 361.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007397/0.1646, allocations: 159.4 kB / 361.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02078/0.1855, allocations: 8.861 MB / 370.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.015/0.2005, allocations: 3.092 MB / 373.3 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007094/0.2076, allocations: 1.731 MB / 375 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2481/0.4557, allocations: 12.41 MB / 387.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03449/0.4903, allocations: 20.26 MB / 407.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.5011, allocations: 5.654 MB / 413.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02009/0.5212, allocations: 7.653 MB / 421 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006556/0.5279, allocations: 1.223 MB / 422.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.538, allocations: 1.587 MB / 423.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006647/0.5447, allocations: 3.021 MB / 426.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01588/0.5606, allocations: 6.34 MB / 433.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03211/0.5928, allocations: 24.22 MB / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.5928, allocations: 0 / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5929, allocations: 0 / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001037/0.5939, allocations: 0 / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05197/0.6459, allocations: 14.76 MB / 472.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.646, allocations: 8.031 kB / 472.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05189/0.6979, allocations: 9.42 MB / 481.6 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/0.7187, allocations: 6.886 MB / 488.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/0.7199, allocations: 0.8196 MB / 489.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006515/0.7265, allocations: 1.076 MB / 490.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06046/0.7869, allocations: 18.76 MB / 0.4972 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006492/0.7876, allocations: 15.81 kB / 0.4972 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005206/0.7928, allocations: 464.3 kB / 0.4976 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009268/0.7938, allocations: 0.6911 MB / 0.4983 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04462/0.8384, allocations: 18.22 MB / 0.5161 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5058/1.344, allocations: 59.99 MB / 0.5747 GB, free: 113.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02953/1.374, allocations: 46.73 MB / 0.6203 GB, free: 68.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007831/1.382, allocations: 4.324 MB / 0.6245 GB, free: 65.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/1.405, allocations: 12.47 MB / 0.6367 GB, free: 57.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/1.405, allocations: 81.44 kB / 0.6368 GB, free: 57.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 5.951e-06/1.405, allocations: 4 kB / 0.6368 GB, free: 57.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04344/1.448, allocations: 19.42 MB / 0.6558 GB, free: 40.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.448, allocations: 90.5 kB / 0.6559 GB, free: 39.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007894/1.456, allocations: 4.335 MB / 0.6601 GB, free: 35.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007623/1.457, allocations: 97.62 kB / 0.6602 GB, free: 35.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.459, allocations: 4.814 MB / 0.6649 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.46, allocations: 1.373 MB / 0.6662 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/1.462, allocations: 1.274 MB / 0.6675 GB, free: 27.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.462, allocations: 305.1 kB / 0.6678 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.466, allocations: 3.155 MB / 0.6708 GB, free: 24.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/1.471, allocations: 5.773 MB / 0.6765 GB, free: 17.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.481, allocations: 9.514 MB / 0.6858 GB, free: 6.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.281e-05/1.482, allocations: 24 kB / 0.6858 GB, free: 6.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01737/1.499, allocations: 10.32 MB / 0.6959 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.499, allocations: 44 kB / 0.6959 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/1.499, allocations: 88 kB / 0.696 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/1.503, allocations: 1.41 MB / 0.6974 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005815/1.509, allocations: 1.458 MB / 0.6988 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.252/1.761, allocations: 10.56 MB / 0.7091 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/1.767, allocations: 399.7 kB / 0.7095 GB, free: 145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.768, allocations: 332.6 kB / 0.7098 GB, free: 145 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008449/1.777, allocations: 4.18 MB / 0.7139 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.778, allocations: 446.4 kB / 0.7143 GB, free: 144.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.791, allocations: 7.41 MB / 0.7216 GB, free: 142.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008536/1.8, allocations: 6.081 MB / 0.7275 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.8, allocations: 13.62 kB / 0.7275 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/1.8, allocations: 20.72 kB / 0.7275 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.824, allocations: 16.46 MB / 0.7436 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.824, allocations: 0 / 0.7436 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/1.827, allocations: 0.7182 MB / 0.7443 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/1.83, allocations: 1.256 MB / 0.7455 GB, free: 133.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003088/1.83, allocations: 90.16 kB / 0.7456 GB, free: 133.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.842, allocations: 9.297 MB / 0.7547 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.842, allocations: 7.688 kB / 0.7547 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.856, allocations: 10.63 MB / 0.7651 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.858, allocations: 1.042 MB / 0.7661 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/1.859, allocations: 68 kB / 0.7662 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.861, allocations: 255.6 kB / 0.7664 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006676/1.861, allocations: 279.4 kB / 0.7667 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.862, allocations: 112 kB / 0.7668 GB, free: 116.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003837/1.865, allocations: 2.904 MB / 0.7696 GB, free: 114 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.865, allocations: 0 / 0.7696 GB, free: 114 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006551/1.872, allocations: 1.847 MB / 0.7714 GB, free: 112.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006763/1.873, allocations: 259.9 kB / 0.7717 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.884, allocations: 7.976 MB / 0.7795 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.884, allocations: 0 / 0.7795 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006757/1.891, allocations: 3.681 MB / 0.7831 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.896, allocations: 1.036 MB / 0.7841 GB, free: 99.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/1.933, allocations: 23.58 MB / 0.8071 GB, free: 75.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/1.946, allocations: 7.028 MB / 0.814 GB, free: 68.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007828/1.954, allocations: 2.255 MB / 0.8162 GB, free: 66.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/1.956, allocations: 367.4 kB / 0.8165 GB, free: 65.95 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/1.956, allocations: 0 / 0.8165 GB, free: 65.95 MB / 462.1 MB Notification: Performance of Templates: time 0.3177/2.274, allocations: 72.91 MB / 0.8877 GB, free: 128.3 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches