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.001403/0.001403, allocations: 114.4 kB / 20.37 MB, free: 1.539 MB / 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.001485/0.001485, allocations: 197 kB / 23.66 MB, free: 5.109 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.341/1.341, allocations: 225.6 MB / 252.4 MB, free: 13.25 MB / 206.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 0.001431/0.001431, allocations: 47.92 kB / 370.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 52.15 MB / 422.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02987/0.2708, allocations: 27.12 MB / 450 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2895, allocations: 8.078 MB / 458.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006192/0.2957, allocations: 203.4 kB / 458.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02232/0.318, allocations: 9.479 MB / 467.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.3296, allocations: 3.373 MB / 471.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005788/0.3354, allocations: 1.812 MB / 473 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0181/0.3535, allocations: 12.17 MB / 485.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02935/0.3829, allocations: 14.99 MB / 0.4884 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.3943, allocations: 6.495 MB / 0.4948 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/0.4071, allocations: 7.246 MB / 0.5018 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005138/0.4123, allocations: 1.84 MB / 0.5036 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00829/0.4206, allocations: 2.21 MB / 0.5058 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006512/0.4271, allocations: 3.612 MB / 0.5093 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01249/0.4396, allocations: 6.93 MB / 0.5161 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5047/0.9443, allocations: 24.79 MB / 0.5403 GB, free: 42.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.9443, allocations: 1.219 kB / 0.5403 GB, free: 42.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.9443, allocations: 0 / 0.5403 GB, free: 42.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009973/0.9453, allocations: 0 / 0.5403 GB, free: 42.99 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.05676/1.002, allocations: 14.74 MB / 0.5547 GB, free: 39.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.002, allocations: 9.594 kB / 0.5547 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0467/1.049, allocations: 8.536 MB / 0.563 GB, free: 37.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.07, allocations: 7.668 MB / 0.5705 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008277/1.07, allocations: 0.805 MB / 0.5713 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006116/1.077, allocations: 1.059 MB / 0.5724 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04901/1.126, allocations: 18.3 MB / 0.5902 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004984/1.126, allocations: 11.94 kB / 0.5902 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00586/1.132, allocations: 449.4 kB / 0.5907 GB, free: 17.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005903/1.133, allocations: 0.6697 MB / 0.5913 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03609/1.169, allocations: 17.54 MB / 0.6084 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/1.291, allocations: 58.2 MB / 0.6653 GB, free: 4.957 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03799/1.329, allocations: 36.97 MB / 0.7014 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007495/1.336, allocations: 3.738 MB / 0.705 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/1.337, allocations: 195.2 kB / 0.7052 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/1.337, allocations: 86.62 kB / 0.7053 GB, free: 8.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=518): time 9.538e-06/1.337, allocations: 4 kB / 0.7053 GB, free: 8.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=524): time 0.0575/1.394, allocations: 21.54 MB / 0.7263 GB, free: 2.328 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/1.395, allocations: 107.5 kB / 0.7264 GB, free: 2.207 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/1.401, allocations: 4.175 MB / 0.7305 GB, free: 14 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008851/1.402, allocations: 109.7 kB / 0.7306 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003257/1.405, allocations: 4.666 MB / 0.7352 GB, free: 9.215 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.407, allocations: 1.864 MB / 0.737 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002204/1.41, allocations: 1.355 MB / 0.7383 GB, free: 6.012 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.41, allocations: 313.1 kB / 0.7386 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006102/1.416, allocations: 3.438 MB / 0.742 GB, free: 2.262 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008982/1.425, allocations: 5.882 MB / 0.7477 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/1.44, allocations: 10.01 MB / 0.7575 GB, free: 480 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.881e-05/1.44, allocations: 20 kB / 0.7575 GB, free: 460 kB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2564/1.697, allocations: 10.94 MB / 0.7682 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/1.697, allocations: 37.66 kB / 0.7682 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.697, allocations: 79.12 kB / 0.7683 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/1.701, allocations: 1.44 MB / 0.7697 GB, free: 228.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.707, allocations: 1.608 MB / 0.7713 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.721, allocations: 11.5 MB / 0.7825 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.726, allocations: 417.4 kB / 0.7829 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.728, allocations: 332.8 kB / 0.7832 GB, free: 222.3 MB / 0.5919 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.007325/1.735, allocations: 4.157 MB / 0.7873 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.736, allocations: 0.493 MB / 0.7878 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.75, allocations: 8.442 MB / 0.796 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009796/1.76, allocations: 7.048 MB / 0.8029 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.76, allocations: 12 kB / 0.8029 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/1.76, allocations: 26.34 kB / 0.8029 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/1.801, allocations: 18.72 MB / 0.8212 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.801, allocations: 0 / 0.8212 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/1.805, allocations: 0.9418 MB / 0.8221 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.809, allocations: 1.297 MB / 0.8234 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009557/1.81, allocations: 112 kB / 0.8235 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.824, allocations: 10.19 MB / 0.8335 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.824, allocations: 0.5625 kB / 0.8335 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/1.842, allocations: 12.26 MB / 0.8454 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003455/1.846, allocations: 1.185 MB / 0.8466 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/1.847, allocations: 95.98 kB / 0.8467 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/1.851, allocations: 271.8 kB / 0.847 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009991/1.852, allocations: 352.4 kB / 0.8473 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005468/1.852, allocations: 146.3 kB / 0.8474 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004845/1.857, allocations: 2.815 MB / 0.8502 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/1.857, allocations: 0 / 0.8502 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007758/1.865, allocations: 1.934 MB / 0.8521 GB, free: 160.8 MB / 0.5919 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.001154/1.866, allocations: 317.4 kB / 0.8524 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.88, allocations: 8.382 MB / 0.8606 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.88, allocations: 5.75 kB / 0.8606 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006566/1.886, allocations: 3.889 MB / 0.8644 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006511/1.893, allocations: 1.125 MB / 0.8655 GB, free: 147 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/1.925, allocations: 19.62 MB / 0.8846 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/1.935, allocations: 7.005 MB / 0.8915 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006621/1.942, allocations: 2.317 MB / 0.8937 GB, free: 117.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/1.944, allocations: 419.4 kB / 0.8941 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/1.944, allocations: 4 kB / 0.8941 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.5095/2.454, allocations: 82.44 MB / 0.9746 GB, free: 35.61 MB / 0.5919 GB " [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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.054693073034286]