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.001343/0.001343, allocations: 111.7 kB / 17.28 MB, free: 6.199 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.001503/0.001503, allocations: 185.3 kB / 18.2 MB, free: 5.281 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.567/1.567, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001282/0.001282, allocations: 48.39 kB / 280.2 MB, free: 3.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 46.63 MB / 326.8 MB, free: 4.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03193/0.1413, allocations: 26.6 MB / 353.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.161, allocations: 7.9 MB / 361.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007583/0.1687, allocations: 155.5 kB / 361.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02136/0.1901, allocations: 8.881 MB / 370.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.2059, allocations: 3.057 MB / 373.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007007/0.2129, allocations: 1.704 MB / 375.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2629/0.4758, allocations: 12.24 MB / 387.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04781/0.5237, allocations: 28.12 MB / 415.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01509/0.5388, allocations: 6.69 MB / 422.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.5528, allocations: 7.377 MB / 429.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006361/0.5592, allocations: 1.852 MB / 431.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009837/0.5691, allocations: 2.219 MB / 433.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01171/0.5808, allocations: 4.029 MB / 437.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01851/0.5994, allocations: 7.007 MB / 444.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03461/0.634, allocations: 24.64 MB / 469.3 MB, free: 376 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6341, allocations: 0 / 469.3 MB, free: 376 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6341, allocations: 4 kB / 469.3 MB, free: 372 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008036/0.6349, allocations: 0 / 469.3 MB, free: 372 kB / 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.0558/0.6907, allocations: 14.75 MB / 484 MB, free: 1.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.6908, allocations: 8.031 kB / 484 MB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07567/0.7665, allocations: 9.415 MB / 493.5 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/0.7839, allocations: 6.888 MB / 0.4886 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/0.785, allocations: 0.823 MB / 0.4894 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005906/0.7909, allocations: 1.074 MB / 0.4905 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05473/0.8457, allocations: 18.77 MB / 0.5088 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006089/0.8463, allocations: 7.906 kB / 0.5088 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005003/0.8513, allocations: 456.7 kB / 0.5092 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008506/0.8522, allocations: 0.695 MB / 0.5099 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04433/0.8966, allocations: 18.23 MB / 0.5277 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4435/1.34, allocations: 59.98 MB / 0.5863 GB, free: 109.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03384/1.374, allocations: 46.75 MB / 0.632 GB, free: 64.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007186/1.381, allocations: 4.311 MB / 0.6362 GB, free: 61.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02467/1.406, allocations: 12.48 MB / 0.6484 GB, free: 48.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.633e-05/1.406, allocations: 85.55 kB / 0.6484 GB, free: 48.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=391): time 6.692e-06/1.406, allocations: 3.938 kB / 0.6484 GB, free: 48.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=397): time 0.04509/1.451, allocations: 19.42 MB / 0.6674 GB, free: 29.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/1.451, allocations: 94.5 kB / 0.6675 GB, free: 29.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009607/1.461, allocations: 4.339 MB / 0.6717 GB, free: 24.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001354/1.462, allocations: 85.7 kB / 0.6718 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003027/1.465, allocations: 4.814 MB / 0.6765 GB, free: 19.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.467, allocations: 1.366 MB / 0.6778 GB, free: 18.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004119/1.471, allocations: 1.282 MB / 0.6791 GB, free: 17.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/1.471, allocations: 305.1 kB / 0.6794 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005509/1.477, allocations: 3.147 MB / 0.6825 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006375/1.483, allocations: 5.777 MB / 0.6881 GB, free: 6.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.497, allocations: 9.51 MB / 0.6974 GB, free: 12.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.497, allocations: 24 kB / 0.6974 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02244/1.52, allocations: 10.33 MB / 0.7075 GB, free: 1.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.52, allocations: 44 kB / 0.7075 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.52, allocations: 84 kB / 0.7076 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/1.524, allocations: 1.422 MB / 0.709 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2248/1.749, allocations: 1.452 MB / 0.7104 GB, free: 149.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/1.766, allocations: 11.34 MB / 0.7215 GB, free: 145.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/1.772, allocations: 395.2 kB / 0.7219 GB, free: 145.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.773, allocations: 335.8 kB / 0.7222 GB, free: 145.6 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.009641/1.783, allocations: 4.169 MB / 0.7263 GB, free: 143.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.784, allocations: 460.1 kB / 0.7267 GB, free: 143.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.797, allocations: 7.404 MB / 0.7339 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008572/1.805, allocations: 6.076 MB / 0.7399 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.805, allocations: 13.19 kB / 0.7399 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/1.805, allocations: 23.09 kB / 0.7399 GB, free: 138.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/1.84, allocations: 16.46 MB / 0.756 GB, free: 130.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.84, allocations: 0 / 0.756 GB, free: 130.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.843, allocations: 0.7252 MB / 0.7567 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/1.846, allocations: 1.257 MB / 0.7579 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006745/1.847, allocations: 91.47 kB / 0.758 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.86, allocations: 10.05 MB / 0.7678 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.86, allocations: 0 / 0.7678 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.875, allocations: 10.63 MB / 0.7782 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003243/1.879, allocations: 1.042 MB / 0.7792 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/1.88, allocations: 73.64 kB / 0.7793 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.883, allocations: 251.7 kB / 0.7795 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008163/1.884, allocations: 279.5 kB / 0.7798 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003814/1.885, allocations: 112 kB / 0.7799 GB, free: 106.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005346/1.89, allocations: 2.904 MB / 0.7827 GB, free: 103.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.89, allocations: 7.844 kB / 0.7827 GB, free: 103.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008089/1.898, allocations: 1.842 MB / 0.7845 GB, free: 101.4 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.001055/1.899, allocations: 259.9 kB / 0.7848 GB, free: 101.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02983/1.929, allocations: 14.49 MB / 0.7989 GB, free: 86.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/1.929, allocations: 5.609 kB / 0.7989 GB, free: 86.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006479/1.935, allocations: 3.68 MB / 0.8025 GB, free: 83.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/1.943, allocations: 1.09 MB / 0.8036 GB, free: 81.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/1.982, allocations: 23.58 MB / 0.8266 GB, free: 58.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/1.994, allocations: 7.032 MB / 0.8335 GB, free: 51.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009305/2.004, allocations: 2.248 MB / 0.8357 GB, free: 49.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/2.006, allocations: 367.4 kB / 0.836 GB, free: 48.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.026e-06/2.006, allocations: 0 / 0.836 GB, free: 48.66 MB / 462.1 MB Notification: Performance of Templates: time 0.3291/2.335, allocations: 75.47 MB / 0.9098 GB, free: 125.6 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