Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.133/2.133, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 43.94 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4323, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0497/0.482, allocations: 23.2 MB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02643/0.5085, allocations: 7.849 MB / 463.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007631/0.5161, allocations: 238.8 kB / 463.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03546/0.5516, allocations: 8.761 MB / 472.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01959/0.5712, allocations: 3.393 MB / 475.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009416/0.5806, allocations: 1.82 MB / 477.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02664/0.6072, allocations: 12.38 MB / 490 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04253/0.6497, allocations: 16.03 MB / 0.4942 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.014/0.6637, allocations: 6.648 MB / 0.5007 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01823/0.682, allocations: 7.285 MB / 0.5078 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006643/0.6886, allocations: 1.836 MB / 0.5096 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009352/0.698, allocations: 2.222 MB / 0.5118 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01039/0.7084, allocations: 3.597 MB / 0.5153 GB, free: 7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01515/0.7235, allocations: 5.37 MB / 0.5205 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.7644/1.488, allocations: 24.88 MB / 0.5448 GB, free: 42.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.488, allocations: 0 / 0.5448 GB, free: 42.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/1.488, allocations: 0 / 0.5448 GB, free: 42.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005854/1.488, allocations: 1.125 kB / 0.5448 GB, free: 42.46 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.06692/1.555, allocations: 14.66 MB / 0.5591 GB, free: 38.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.555, allocations: 7.312 kB / 0.5591 GB, free: 38.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08573/1.641, allocations: 8.437 MB / 0.5674 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02774/1.669, allocations: 7.813 MB / 0.575 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/1.67, allocations: 0.8044 MB / 0.5758 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006695/1.677, allocations: 1.059 MB / 0.5768 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06404/1.741, allocations: 18.54 MB / 0.5949 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004682/1.741, allocations: 11.95 kB / 0.5949 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005144/1.746, allocations: 446 kB / 0.5954 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008483/1.747, allocations: 0.6724 MB / 0.596 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05325/1.8, allocations: 17.48 MB / 0.6131 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.167/1.967, allocations: 50.33 MB / 0.6623 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03995/2.007, allocations: 12.66 MB / 0.6746 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01025/2.018, allocations: 3.731 MB / 0.6783 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/2.018, allocations: 127.9 kB / 0.6784 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/2.018, allocations: 86.62 kB / 0.6785 GB, free: 11.71 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.419e-05/2.019, allocations: 4 kB / 0.6785 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.08039/2.099, allocations: 21.23 MB / 0.6992 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/2.099, allocations: 111.2 kB / 0.6993 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/2.109, allocations: 4 MB / 0.7032 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/2.11, allocations: 113.7 kB / 0.7033 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005422/2.116, allocations: 4.684 MB / 0.7079 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003523/2.119, allocations: 1.868 MB / 0.7097 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003818/2.123, allocations: 1.371 MB / 0.7111 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/2.123, allocations: 305.1 kB / 0.7113 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00971/2.133, allocations: 3.434 MB / 0.7147 GB, free: 6.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01314/2.146, allocations: 5.903 MB / 0.7205 GB, free: 15.49 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02372/2.17, allocations: 10.01 MB / 0.7302 GB, free: 4.633 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/2.17, allocations: 20 kB / 0.7303 GB, free: 4.613 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.03462/2.205, allocations: 10.88 MB / 0.7409 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/2.205, allocations: 46.02 kB / 0.7409 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002253/2.205, allocations: 76 kB / 0.741 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006476/2.211, allocations: 1.37 MB / 0.7423 GB, free: 8.656 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/2.223, allocations: 1.618 MB / 0.7439 GB, free: 7.145 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3693/2.592, allocations: 10.94 MB / 0.7546 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008313/2.601, allocations: 397.7 kB / 0.755 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.602, allocations: 342.1 kB / 0.7553 GB, free: 202.9 MB / 0.5763 GB 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.01078/2.613, allocations: 4.161 MB / 0.7594 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/2.615, allocations: 479.8 kB / 0.7598 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/2.636, allocations: 8.391 MB / 0.768 GB, free: 199.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01688/2.652, allocations: 7.023 MB / 0.7749 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.289e-05/2.652, allocations: 13.72 kB / 0.7749 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.81e-05/2.653, allocations: 28.47 kB / 0.7749 GB, free: 197.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04908/2.702, allocations: 16.12 MB / 0.7907 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/2.702, allocations: 0 / 0.7907 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006851/2.709, allocations: 0.9471 MB / 0.7916 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/2.714, allocations: 1.228 MB / 0.7928 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/2.715, allocations: 122.3 kB / 0.7929 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/2.735, allocations: 9.657 MB / 0.8023 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.735, allocations: 2.406 kB / 0.8023 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/2.762, allocations: 12.21 MB / 0.8143 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004871/2.767, allocations: 1.093 MB / 0.8153 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.768, allocations: 90.31 kB / 0.8154 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004325/2.773, allocations: 266 kB / 0.8157 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/2.774, allocations: 380.2 kB / 0.816 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005136/2.774, allocations: 156 kB / 0.8162 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005352/2.78, allocations: 2.579 MB / 0.8187 GB, free: 163 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.8e-07/2.78, allocations: 0 / 0.8187 GB, free: 163 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01045/2.79, allocations: 1.918 MB / 0.8206 GB, free: 161.1 MB / 0.5763 GB 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.001259/2.791, allocations: 303.7 kB / 0.8209 GB, free: 160.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01942/2.811, allocations: 8.372 MB / 0.829 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/2.811, allocations: 128 / 0.829 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/2.821, allocations: 3.89 MB / 0.8328 GB, free: 148.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008496/2.83, allocations: 1.006 MB / 0.8338 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/2.876, allocations: 19.48 MB / 0.8528 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.887, allocations: 6.593 MB / 0.8593 GB, free: 121.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009471/2.896, allocations: 2.28 MB / 0.8615 GB, free: 119 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/2.898, allocations: 439.3 kB / 0.8619 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.693e-06/2.898, allocations: 3.938 kB / 0.8619 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.2076/3.106, allocations: 86.1 MB / 0.946 GB, free: 33.36 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.326316239006701]