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.001939/0.001939, 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 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.002432/0.002432, allocations: 209 kB / 24.48 MB, free: 3.938 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.001654/0.001654, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2958, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03038/0.3262, allocations: 23.21 MB / 455.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.3452, allocations: 7.857 MB / 463.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006551/0.3518, allocations: 234.8 kB / 463.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02281/0.3746, allocations: 8.754 MB / 472.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.3871, allocations: 3.373 MB / 475.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006449/0.3935, allocations: 1.813 MB / 477.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01833/0.4119, allocations: 12.36 MB / 490 MB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03081/0.4427, allocations: 15.84 MB / 0.494 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.4556, allocations: 6.651 MB / 0.5004 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01498/0.4705, allocations: 6.988 MB / 0.5073 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006189/0.4767, allocations: 1.832 MB / 0.5091 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008931/0.4857, allocations: 2.207 MB / 0.5112 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007464/0.4931, allocations: 3.601 MB / 0.5147 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01386/0.507, allocations: 5.366 MB / 0.52 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5241/1.031, allocations: 24.88 MB / 0.5443 GB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.031, allocations: 3.016 kB / 0.5443 GB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.276e-06/1.031, allocations: 0.6562 kB / 0.5443 GB, free: 41.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007366/1.032, allocations: 0 / 0.5443 GB, free: 41.84 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.0465/1.078, allocations: 14.66 MB / 0.5586 GB, free: 38.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.078, allocations: 9.875 kB / 0.5586 GB, free: 38.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04923/1.128, allocations: 8.435 MB / 0.5668 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02139/1.149, allocations: 7.814 MB / 0.5745 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007332/1.15, allocations: 0.8053 MB / 0.5753 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005934/1.156, allocations: 1.056 MB / 0.5763 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05217/1.208, allocations: 18.55 MB / 0.5944 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004649/1.208, allocations: 19.94 kB / 0.5944 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005625/1.214, allocations: 449.7 kB / 0.5949 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005939/1.214, allocations: 0.6694 MB / 0.5955 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03938/1.254, allocations: 17.48 MB / 0.6126 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.365, allocations: 50.33 MB / 0.6617 GB, free: 10.28 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/1.391, allocations: 12.66 MB / 0.6741 GB, free: 15.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007155/1.398, allocations: 3.733 MB / 0.6777 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/1.398, allocations: 131.9 kB / 0.6779 GB, free: 11.82 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.857e-05/1.398, allocations: 82.62 kB / 0.6779 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.774e-06/1.398, allocations: 0 / 0.6779 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05168/1.45, allocations: 21.24 MB / 0.6987 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/1.45, allocations: 107.5 kB / 0.6988 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/1.457, allocations: 3.999 MB / 0.7027 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.458, allocations: 105.7 kB / 0.7028 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003804/1.462, allocations: 4.692 MB / 0.7074 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002541/1.464, allocations: 1.859 MB / 0.7092 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002469/1.467, allocations: 1.375 MB / 0.7105 GB, free: 10.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.467, allocations: 309.1 kB / 0.7108 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006009/1.473, allocations: 3.434 MB / 0.7142 GB, free: 6.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008659/1.482, allocations: 5.898 MB / 0.7199 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.497, allocations: 10.01 MB / 0.7297 GB, free: 4.652 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-05/1.498, allocations: 24 kB / 0.7297 GB, free: 4.629 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02308/1.521, allocations: 10.88 MB / 0.7404 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/1.521, allocations: 40 kB / 0.7404 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/1.521, allocations: 80 kB / 0.7405 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/1.525, allocations: 1.372 MB / 0.7418 GB, free: 8.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006617/1.531, allocations: 1.622 MB / 0.7434 GB, free: 7.164 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2936/1.825, allocations: 10.93 MB / 0.7541 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/1.832, allocations: 407.8 kB / 0.7545 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/1.834, allocations: 338.8 kB / 0.7548 GB, free: 202.8 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.007918/1.842, allocations: 4.161 MB / 0.7588 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.843, allocations: 479 kB / 0.7593 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.857, allocations: 8.385 MB / 0.7675 GB, free: 199.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01117/1.868, allocations: 7.025 MB / 0.7744 GB, free: 197 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/1.868, allocations: 11.72 kB / 0.7744 GB, free: 197 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.259e-05/1.868, allocations: 29.48 kB / 0.7744 GB, free: 197 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.899, allocations: 16.12 MB / 0.7901 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.899, allocations: 6.25 kB / 0.7901 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003831/1.903, allocations: 0.9392 MB / 0.7911 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/1.906, allocations: 1.231 MB / 0.7923 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007972/1.907, allocations: 115.7 kB / 0.7924 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.919, allocations: 9.653 MB / 0.8018 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.919, allocations: 7.938 kB / 0.8018 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/1.938, allocations: 12.21 MB / 0.8137 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/1.941, allocations: 1.09 MB / 0.8148 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/1.943, allocations: 92 kB / 0.8149 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/1.946, allocations: 267.1 kB / 0.8151 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008611/1.947, allocations: 380.2 kB / 0.8155 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/1.947, allocations: 155.9 kB / 0.8157 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003953/1.951, allocations: 2.579 MB / 0.8182 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.951, allocations: 0 / 0.8182 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008523/1.96, allocations: 1.918 MB / 0.82 GB, free: 161.2 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.001287/1.961, allocations: 300.2 kB / 0.8203 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.974, allocations: 8.377 MB / 0.8285 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.974, allocations: 0 / 0.8285 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007306/1.982, allocations: 3.889 MB / 0.8323 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/1.988, allocations: 1.011 MB / 0.8333 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/2.021, allocations: 19.19 MB / 0.852 GB, free: 128.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008243/2.029, allocations: 6.383 MB / 0.8583 GB, free: 121.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/2.032, allocations: 488.6 kB / 0.8587 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.014e-06/2.032, allocations: 4 kB / 0.8587 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.436/2.468, allocations: 186.2 MB / 1.041 GB, free: 154.6 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.36762468609959]