Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002022/0.002022, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.89 kB / 379 MB, free: 2.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3678, allocations: 53.4 MB / 432.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03161/0.3994, allocations: 23.2 MB / 455.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.4207, allocations: 7.857 MB / 463.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006882/0.4276, allocations: 238.8 kB / 463.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02424/0.4518, allocations: 8.753 MB / 472.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.465, allocations: 3.369 MB / 475.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006357/0.4713, allocations: 1.802 MB / 477.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01906/0.4904, allocations: 12.36 MB / 490 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03099/0.5214, allocations: 15.84 MB / 0.494 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.5338, allocations: 6.632 MB / 0.5005 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01366/0.5475, allocations: 6.984 MB / 0.5073 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005834/0.5533, allocations: 1.832 MB / 0.5091 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008014/0.5613, allocations: 2.21 MB / 0.5112 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007202/0.5686, allocations: 3.601 MB / 0.5148 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0148/0.5834, allocations: 5.366 MB / 0.52 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5559/1.139, allocations: 24.88 MB / 0.5443 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.139, allocations: 2.625 kB / 0.5443 GB, free: 41.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/1.139, allocations: 0 / 0.5443 GB, free: 41.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008689/1.14, allocations: 0 / 0.5443 GB, free: 41.79 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.05048/1.191, allocations: 14.66 MB / 0.5586 GB, free: 37.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.191, allocations: 13.17 kB / 0.5586 GB, free: 37.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04657/1.237, allocations: 8.443 MB / 0.5669 GB, free: 35.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.257, allocations: 7.809 MB / 0.5745 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009193/1.258, allocations: 0.8064 MB / 0.5753 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00663/1.264, allocations: 1.057 MB / 0.5763 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05247/1.317, allocations: 18.54 MB / 0.5944 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006496/1.317, allocations: 17.06 kB / 0.5944 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005988/1.323, allocations: 452.9 kB / 0.5949 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006774/1.324, allocations: 0.6633 MB / 0.5955 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03985/1.364, allocations: 17.49 MB / 0.6126 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1278/1.492, allocations: 50.33 MB / 0.6618 GB, free: 10.18 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02766/1.519, allocations: 12.66 MB / 0.6741 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008197/1.527, allocations: 3.729 MB / 0.6778 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/1.528, allocations: 131.9 kB / 0.6779 GB, free: 11.71 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/1.528, allocations: 90.62 kB / 0.678 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 9.047e-06/1.528, allocations: 0 / 0.678 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.06031/1.589, allocations: 21.24 MB / 0.6987 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.589, allocations: 107.5 kB / 0.6988 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.599, allocations: 3.996 MB / 0.7027 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.6, allocations: 117.6 kB / 0.7028 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004239/1.604, allocations: 4.686 MB / 0.7074 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003006/1.607, allocations: 1.862 MB / 0.7092 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005081/1.612, allocations: 1.371 MB / 0.7106 GB, free: 10.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.613, allocations: 315 kB / 0.7109 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/1.62, allocations: 3.43 MB / 0.7142 GB, free: 6.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.63, allocations: 5.898 MB / 0.72 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/1.648, allocations: 10.02 MB / 0.7298 GB, free: 4.527 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.648, allocations: 20 kB / 0.7298 GB, free: 4.508 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02543/1.673, allocations: 10.88 MB / 0.7404 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/1.674, allocations: 40 kB / 0.7404 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.674, allocations: 76 kB / 0.7405 GB, free: 9.934 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/1.678, allocations: 1.377 MB / 0.7419 GB, free: 8.559 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/1.685, allocations: 1.618 MB / 0.7434 GB, free: 7.047 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.705, allocations: 10.93 MB / 0.7541 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.711, allocations: 399.5 kB / 0.7545 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.712, allocations: 347.9 kB / 0.7548 GB, free: 11.34 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.009663/1.722, allocations: 4.16 MB / 0.7589 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.724, allocations: 480.9 kB / 0.7593 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3203/2.044, allocations: 8.374 MB / 0.7675 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01242/2.057, allocations: 7.034 MB / 0.7744 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/2.057, allocations: 14.52 kB / 0.7744 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-05/2.057, allocations: 31.45 kB / 0.7744 GB, free: 221.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03095/2.088, allocations: 16.11 MB / 0.7902 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/2.088, allocations: 2.406 kB / 0.7902 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/2.091, allocations: 0.9419 MB / 0.7911 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/2.094, allocations: 1.238 MB / 0.7923 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006502/2.095, allocations: 114.9 kB / 0.7924 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/2.107, allocations: 9.658 MB / 0.8018 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/2.107, allocations: 7.688 kB / 0.8018 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/2.124, allocations: 12.21 MB / 0.8138 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/2.128, allocations: 1.095 MB / 0.8148 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/2.129, allocations: 91.84 kB / 0.8149 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/2.132, allocations: 267.3 kB / 0.8152 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/2.133, allocations: 375.3 kB / 0.8155 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/2.133, allocations: 151.6 kB / 0.8157 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003821/2.137, allocations: 2.579 MB / 0.8182 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.11e-07/2.137, allocations: 0 / 0.8182 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00806/2.145, allocations: 1.916 MB / 0.8201 GB, free: 193.1 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.001102/2.146, allocations: 304.8 kB / 0.8204 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01358/2.159, allocations: 8.375 MB / 0.8285 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.159, allocations: 0 / 0.8285 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007002/2.166, allocations: 3.895 MB / 0.8323 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/2.172, allocations: 1.011 MB / 0.8333 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/2.205, allocations: 19.19 MB / 0.8521 GB, free: 161 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008898/2.214, allocations: 6.376 MB / 0.8583 GB, free: 154.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/2.217, allocations: 487.3 kB / 0.8588 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.723e-06/2.217, allocations: 7.938 kB / 0.8588 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.4876/2.704, allocations: 186.2 MB / 1.041 GB, free: 202.1 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.338071110192686]