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.0009991/0.0009991, allocations: 80.06 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009026/0.0009026, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9331/0.9331, allocations: 173.3 MB / 201.1 MB, free: 8.984 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 268 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.506e-05, allocations: 2.312 kB / 268 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1423/0.1423, allocations: 26.45 MB / 294.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.1584, allocations: 7.973 MB / 302.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005386/0.1638, allocations: 236.8 kB / 302.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01347/0.1772, allocations: 10.02 MB / 312.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008449/0.1857, allocations: 3.468 MB / 316.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.1883, allocations: 1.824 MB / 318 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009223/0.1975, allocations: 12.66 MB / 330.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01815/0.2157, allocations: 15.89 MB / 346.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.2274, allocations: 9.805 MB / 356.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008284/0.2356, allocations: 6.967 MB / 363.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003352/0.239, allocations: 1.84 MB / 365.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.2428, allocations: 2.202 MB / 367.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002481/0.2453, allocations: 3.741 MB / 371.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00623/0.2515, allocations: 4.687 MB / 375.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.2628, allocations: 11.76 MB / 387.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2628, allocations: 0 / 387.6 MB, free: 2.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2628, allocations: 4 kB / 387.6 MB, free: 2.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003104/0.2631, allocations: 0 / 387.6 MB, free: 2.777 MB / 330.7 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.02114/0.2843, allocations: 15.53 MB / 403.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2843, allocations: 12.92 kB / 403.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02419/0.3085, allocations: 10.48 MB / 413.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.3191, allocations: 7.39 MB / 421 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004909/0.3196, allocations: 0.8067 MB / 421.8 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.3218, allocations: 1.062 MB / 422.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.3396, allocations: 9.679 MB / 432.5 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.3398, allocations: 15.89 kB / 432.5 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009692/0.3408, allocations: 444 kB / 433 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004446/0.3412, allocations: 0.6711 MB / 433.6 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2566/0.5979, allocations: 5.572 MB / 439.2 MB, free: 85.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0641/0.662, allocations: 46.04 MB / 485.3 MB, free: 65.7 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.673, allocations: 11.08 MB / 496.3 MB, free: 60.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.6755, allocations: 1.723 MB / 498.1 MB, free: 59.03 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.6758, allocations: 128 kB / 498.2 MB, free: 58.9 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.6758, allocations: 93.45 kB / 498.3 MB, free: 58.79 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.604e-06/0.6758, allocations: 0 / 498.3 MB, free: 58.79 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.02242/0.6983, allocations: 12.56 MB / 0.4989 GB, free: 46.54 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6983, allocations: 109 kB / 0.499 GB, free: 46.42 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/0.702, allocations: 3.698 MB / 0.5026 GB, free: 42.84 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004261/0.7025, allocations: 113.7 kB / 0.5027 GB, free: 42.72 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.7041, allocations: 4.932 MB / 0.5075 GB, free: 38.16 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.7051, allocations: 1.898 MB / 0.5094 GB, free: 36.29 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.7064, allocations: 1.493 MB / 0.5108 GB, free: 34.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.7065, allocations: 488.8 kB / 0.5113 GB, free: 34.3 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.7082, allocations: 1.087 MB / 0.5123 GB, free: 33.21 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.7108, allocations: 4.733 MB / 0.517 GB, free: 27.01 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005117/0.7159, allocations: 6.457 MB / 0.5233 GB, free: 19.3 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.937e-05/0.716, allocations: 24 kB / 0.5233 GB, free: 19.28 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008357/0.7243, allocations: 6.299 MB / 0.5294 GB, free: 13.43 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.7244, allocations: 44.31 kB / 0.5295 GB, free: 13.38 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-05/0.7244, allocations: 80 kB / 0.5296 GB, free: 13.3 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.7271, allocations: 1.3 MB / 0.5308 GB, free: 12 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/0.7305, allocations: 1.606 MB / 0.5324 GB, free: 10.51 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.7379, allocations: 6.785 MB / 0.539 GB, free: 3.656 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.7419, allocations: 399.5 kB / 0.5394 GB, free: 3.266 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/0.7426, allocations: 332 kB / 0.5397 GB, free: 2.941 MB / 378.8 MB 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.002655/0.7452, allocations: 0.6004 MB / 0.5403 GB, free: 2.438 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008902/0.7461, allocations: 0.6313 MB / 0.5409 GB, free: 1.805 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/0.7527, allocations: 4.641 MB / 0.5455 GB, free: 13.1 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004974/0.7577, allocations: 3.344 MB / 0.5487 GB, free: 9.711 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.7577, allocations: 12 kB / 0.5487 GB, free: 9.699 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/0.7577, allocations: 27.89 kB / 0.5488 GB, free: 9.672 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.7793, allocations: 13.13 MB / 0.5616 GB, free: 12.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.7794, allocations: 4 kB / 0.5616 GB, free: 12.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.7815, allocations: 0.9313 MB / 0.5625 GB, free: 11.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.784, allocations: 1.16 MB / 0.5636 GB, free: 10.57 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/0.7843, allocations: 112 kB / 0.5637 GB, free: 10.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007155/0.7914, allocations: 6.183 MB / 0.5698 GB, free: 4.184 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7914, allocations: 7.188 kB / 0.5698 GB, free: 4.18 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008628/0.8001, allocations: 5.634 MB / 0.5753 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.802, allocations: 0.9925 MB / 0.5762 GB, free: 13.38 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/0.8025, allocations: 96 kB / 0.5763 GB, free: 13.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.8038, allocations: 267.8 kB / 0.5766 GB, free: 13.02 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/0.8044, allocations: 373.1 kB / 0.577 GB, free: 12.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/0.8046, allocations: 148 kB / 0.5771 GB, free: 12.51 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00223/0.8068, allocations: 1.685 MB / 0.5787 GB, free: 10.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8068, allocations: 0 / 0.5787 GB, free: 10.84 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005313/0.8122, allocations: 1.917 MB / 0.5806 GB, free: 8.93 MB / 426.8 MB 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.0006854/0.8128, allocations: 309.8 kB / 0.5809 GB, free: 8.672 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00839/0.8212, allocations: 4.917 MB / 0.5857 GB, free: 3.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.8212, allocations: 0 / 0.5857 GB, free: 3.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003786/0.825, allocations: 2.555 MB / 0.5882 GB, free: 1.434 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/0.8285, allocations: 1.029 MB / 0.5892 GB, free: 448 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1459/0.9744, allocations: 16.09 MB / 0.6049 GB, free: 124.7 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/0.9769, allocations: 2.98 MB / 0.6078 GB, free: 124.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003524/0.9804, allocations: 1.939 MB / 0.6097 GB, free: 124.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/0.9813, allocations: 409.3 kB / 0.6101 GB, free: 124.3 MB / 426.8 MB Notification: Performance of SimCode: time 2.294e-06/0.9813, allocations: 0 / 0.6101 GB, free: 124.3 MB / 426.8 MB Notification: Performance of Templates: time 0.07885/1.06, allocations: 70.73 MB / 0.6792 GB, free: 65.8 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.078561977017671]