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.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 92.47 kB / 20.95 MB, free: 476 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 145.8 kB / 24.24 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.367e-06/3.367e-06, allocations: 0 / 267.4 MB, free: 10.15 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.605e-05/4.941e-05, allocations: 2.312 kB / 267.4 MB, free: 10.14 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02878/0.02883, allocations: 23.21 MB / 290.6 MB, free: 2.824 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.04752, allocations: 7.785 MB / 298.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00531/0.05283, allocations: 238.8 kB / 298.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02424/0.07707, allocations: 9.227 MB / 307.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1405/0.2176, allocations: 3.423 MB / 311.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005466/0.223, allocations: 1.804 MB / 313 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.239, allocations: 12.66 MB / 325.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02741/0.2664, allocations: 15.88 MB / 341.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02308/0.2895, allocations: 9.898 MB / 351.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.3026, allocations: 6.269 MB / 357.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005085/0.3076, allocations: 1.832 MB / 359.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007833/0.3155, allocations: 2.211 MB / 361.8 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006063/0.3215, allocations: 3.666 MB / 365.4 MB, free: 92 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.3332, allocations: 4.633 MB / 370.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03433/0.3675, allocations: 25.1 MB / 395.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3676, allocations: 0 / 395.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3676, allocations: 0 / 395.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006377/0.3682, allocations: 4 kB / 395.2 MB, free: 3.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04642/0.4146, allocations: 14.53 MB / 409.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4147, allocations: 8.922 kB / 409.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05702/0.4717, allocations: 10.45 MB / 420.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/0.4937, allocations: 8.116 MB / 428.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/0.4948, allocations: 0.8053 MB / 429.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00512/0.5, allocations: 1.061 MB / 430.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05157/0.5515, allocations: 18.5 MB / 448.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005511/0.5521, allocations: 19.78 kB / 448.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003719/0.5558, allocations: 451.8 kB / 449.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000893/0.5567, allocations: 0.671 MB / 449.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2995/0.8562, allocations: 17.43 MB / 467.2 MB, free: 121.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08867/0.9449, allocations: 51.59 MB / 0.5066 GB, free: 89.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/0.9639, allocations: 12.68 MB / 0.519 GB, free: 78.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005962/0.9699, allocations: 3.727 MB / 0.5227 GB, free: 74.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.9704, allocations: 136 kB / 0.5228 GB, free: 74.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/0.9705, allocations: 86.62 kB / 0.5229 GB, free: 74.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=518): time 8.907e-06/0.9705, allocations: 3.969 kB / 0.5229 GB, free: 74.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=524): time 0.04281/1.013, allocations: 21.35 MB / 0.5437 GB, free: 53.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.013, allocations: 111.5 kB / 0.5438 GB, free: 53.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/1.019, allocations: 3.989 MB / 0.5477 GB, free: 49.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009921/1.02, allocations: 109.6 kB / 0.5478 GB, free: 49.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.022, allocations: 4.674 MB / 0.5524 GB, free: 44.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002357/1.024, allocations: 1.836 MB / 0.5542 GB, free: 43.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002273/1.027, allocations: 1.347 MB / 0.5555 GB, free: 41.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/1.027, allocations: 301.1 kB / 0.5558 GB, free: 41.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/1.032, allocations: 3.422 MB / 0.5591 GB, free: 38.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006385/1.038, allocations: 5.891 MB / 0.5649 GB, free: 31.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.05, allocations: 9.992 MB / 0.5747 GB, free: 19.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.05, allocations: 24 kB / 0.5747 GB, free: 19.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02307/1.073, allocations: 11.19 MB / 0.5856 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/1.073, allocations: 40 kB / 0.5856 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.073, allocations: 79.94 kB / 0.5857 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/1.078, allocations: 1.628 MB / 0.5873 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006505/1.085, allocations: 1.607 MB / 0.5889 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/1.104, allocations: 11 MB / 0.5996 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007304/1.111, allocations: 407.5 kB / 0.6 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/1.113, allocations: 340 kB / 0.6003 GB, free: 9.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01398/1.127, allocations: 4.157 MB / 0.6044 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003204/1.13, allocations: 0.6376 MB / 0.605 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1934/1.324, allocations: 8.367 MB / 0.6132 GB, free: 128.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01462/1.338, allocations: 7.006 MB / 0.62 GB, free: 126.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.338, allocations: 11 kB / 0.62 GB, free: 126.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-05/1.338, allocations: 27.62 kB / 0.6201 GB, free: 126.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/1.367, allocations: 16.1 MB / 0.6358 GB, free: 120.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.367, allocations: 7.625 kB / 0.6358 GB, free: 120.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003469/1.37, allocations: 0.9424 MB / 0.6367 GB, free: 120.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/1.374, allocations: 1.46 MB / 0.6381 GB, free: 120.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000546/1.375, allocations: 114.2 kB / 0.6383 GB, free: 120 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/1.387, allocations: 9.719 MB / 0.6477 GB, free: 114.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.387, allocations: 7.938 kB / 0.6478 GB, free: 114.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.403, allocations: 12.34 MB / 0.6598 GB, free: 103.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.406, allocations: 1.1 MB / 0.6609 GB, free: 102.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007016/1.407, allocations: 88 kB / 0.661 GB, free: 102.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.409, allocations: 271.6 kB / 0.6612 GB, free: 102.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007298/1.41, allocations: 368.3 kB / 0.6616 GB, free: 102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/1.41, allocations: 151.9 kB / 0.6617 GB, free: 101.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00315/1.413, allocations: 2.575 MB / 0.6642 GB, free: 99.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/1.413, allocations: 0 / 0.6642 GB, free: 99.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005421/1.419, allocations: 1.914 MB / 0.6661 GB, free: 97.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,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.0006848/1.42, allocations: 313.6 kB / 0.6664 GB, free: 97.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/1.431, allocations: 8.358 MB / 0.6746 GB, free: 88.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.431, allocations: 7.594 kB / 0.6746 GB, free: 88.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005886/1.437, allocations: 3.882 MB / 0.6784 GB, free: 84.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.442, allocations: 1.035 MB / 0.6794 GB, free: 83.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.472, allocations: 19.75 MB / 0.6987 GB, free: 64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006142/1.478, allocations: 6.577 MB / 0.7051 GB, free: 57.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005663/1.484, allocations: 2.284 MB / 0.7073 GB, free: 55.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.485, allocations: 416.4 kB / 0.7077 GB, free: 54.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.683e-06/1.485, allocations: 0 / 0.7077 GB, free: 54.66 MB / 414.1 MB Notification: Performance of Templates: time 0.2649/1.75, allocations: 70.76 MB / 0.7768 GB, free: 115.5 MB / 414.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.160152152180672]