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.001833/0.001833, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002283/0.002283, allocations: 206.1 kB / 24.48 MB, free: 3.695 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 1.576/1.576, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001553/0.001553, allocations: 47.94 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2446, allocations: 53.36 MB / 432.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02911/0.2737, allocations: 23.2 MB / 455.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01759/0.2913, allocations: 7.849 MB / 463.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005373/0.2967, allocations: 238.8 kB / 463.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02261/0.3193, allocations: 8.765 MB / 472.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.331, allocations: 3.392 MB / 475.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.3372, allocations: 1.82 MB / 477.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01832/0.3555, allocations: 12.37 MB / 490 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03096/0.3865, allocations: 16.04 MB / 0.4942 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.3993, allocations: 6.651 MB / 0.5007 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01462/0.4139, allocations: 7.281 MB / 0.5078 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005424/0.4193, allocations: 1.836 MB / 0.5096 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007447/0.4268, allocations: 2.226 MB / 0.5118 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006581/0.4334, allocations: 3.597 MB / 0.5153 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01282/0.4462, allocations: 5.366 MB / 0.5205 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4336/0.8798, allocations: 24.89 MB / 0.5448 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8798, allocations: 1.156 kB / 0.5448 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8798, allocations: 0 / 0.5448 GB, free: 42.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007421/0.8805, allocations: 0 / 0.5448 GB, free: 42.48 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.04279/0.9233, allocations: 14.66 MB / 0.5591 GB, free: 38.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9234, allocations: 10 kB / 0.5591 GB, free: 38.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04615/0.9695, allocations: 8.437 MB / 0.5674 GB, free: 35.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/0.9868, allocations: 7.807 MB / 0.575 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006341/0.9875, allocations: 0.8088 MB / 0.5758 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/0.9921, allocations: 1.057 MB / 0.5768 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03819/1.03, allocations: 18.54 MB / 0.5949 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003865/1.031, allocations: 15.94 kB / 0.5949 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003692/1.034, allocations: 450.5 kB / 0.5954 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005238/1.035, allocations: 0.6685 MB / 0.596 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/1.066, allocations: 17.48 MB / 0.6131 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.167, allocations: 50.33 MB / 0.6623 GB, free: 10.44 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02475/1.192, allocations: 12.66 MB / 0.6746 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007172/1.199, allocations: 3.729 MB / 0.6783 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/1.2, allocations: 130.8 kB / 0.6784 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.567e-05/1.2, allocations: 82.62 kB / 0.6785 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.208e-05/1.2, allocations: 4 kB / 0.6785 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.0524/1.252, allocations: 21.25 MB / 0.6992 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/1.253, allocations: 107.5 kB / 0.6993 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006616/1.259, allocations: 4.003 MB / 0.7032 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009166/1.26, allocations: 105.7 kB / 0.7033 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003828/1.264, allocations: 4.688 MB / 0.7079 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002512/1.266, allocations: 1.864 MB / 0.7097 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002809/1.269, allocations: 1.375 MB / 0.7111 GB, free: 10.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.269, allocations: 301.1 kB / 0.7114 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006138/1.276, allocations: 3.438 MB / 0.7147 GB, free: 6.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008847/1.284, allocations: 5.893 MB / 0.7205 GB, free: 15.67 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01579/1.3, allocations: 10.01 MB / 0.7302 GB, free: 4.809 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.533e-05/1.3, allocations: 28 kB / 0.7303 GB, free: 4.781 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02267/1.323, allocations: 10.88 MB / 0.7409 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/1.323, allocations: 36 kB / 0.7409 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/1.323, allocations: 80 kB / 0.741 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/1.327, allocations: 1.37 MB / 0.7423 GB, free: 8.832 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00707/1.334, allocations: 1.628 MB / 0.7439 GB, free: 7.312 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2519/1.586, allocations: 10.92 MB / 0.7546 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/1.591, allocations: 398.2 kB / 0.755 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.593, allocations: 340 kB / 0.7553 GB, free: 202.7 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.007172/1.6, allocations: 4.169 MB / 0.7594 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.601, allocations: 481.1 kB / 0.7598 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.614, allocations: 8.383 MB / 0.768 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01052/1.625, allocations: 7.028 MB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/1.625, allocations: 15.11 kB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/1.625, allocations: 26.39 kB / 0.7749 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03151/1.656, allocations: 16.12 MB / 0.7907 GB, free: 188.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.656, allocations: 7.875 kB / 0.7907 GB, free: 188.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/1.66, allocations: 0.9436 MB / 0.7916 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/1.663, allocations: 1.224 MB / 0.7928 GB, free: 186.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007884/1.664, allocations: 118.4 kB / 0.7929 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.677, allocations: 9.657 MB / 0.8023 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.677, allocations: 4 kB / 0.8023 GB, free: 178.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.694, allocations: 12.21 MB / 0.8143 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/1.698, allocations: 1.093 MB / 0.8153 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.699, allocations: 99.27 kB / 0.8154 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.702, allocations: 264.4 kB / 0.8157 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/1.703, allocations: 375.7 kB / 0.816 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/1.703, allocations: 156 kB / 0.8162 GB, free: 166 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003319/1.707, allocations: 2.579 MB / 0.8187 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.707, allocations: 0 / 0.8187 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006407/1.713, allocations: 1.912 MB / 0.8206 GB, free: 161.5 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.0008756/1.714, allocations: 311 kB / 0.8209 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.726, allocations: 8.371 MB / 0.829 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.726, allocations: 4.062 kB / 0.829 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006483/1.732, allocations: 3.881 MB / 0.8328 GB, free: 148.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/1.738, allocations: 1.015 MB / 0.8338 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02901/1.767, allocations: 19.2 MB / 0.8526 GB, free: 128.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006613/1.774, allocations: 6.371 MB / 0.8588 GB, free: 122.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.776, allocations: 487.3 kB / 0.8593 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.573e-06/1.776, allocations: 4 kB / 0.8593 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.4104/2.186, allocations: 186.2 MB / 1.041 GB, free: 154.9 MB / 0.5763 GB " [Timeout remaining time 658] 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 -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: 18.21486933500273]