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.001374/0.001374, allocations: 81.06 kB / 21.5 MB, free: 2.988 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.001034/0.001034, allocations: 147.5 kB / 24.89 MB, free: 8.785 MB / 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.9074/0.9074, allocations: 173.4 MB / 201.5 MB, free: 8.258 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 2.014e-06/2.014e-06, allocations: 0 / 268.6 MB, free: 9.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.817e-05, allocations: 2.312 kB / 268.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02079/0.02082, allocations: 25.35 MB / 293.9 MB, free: 268 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.0381, allocations: 8.337 MB / 302.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.04318, allocations: 238.8 kB / 302.5 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.05552, allocations: 9.908 MB / 312.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009258/0.06478, allocations: 3.441 MB / 315.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.06969, allocations: 1.828 MB / 317.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.08301, allocations: 12.68 MB / 330.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1688/0.2518, allocations: 16.34 MB / 346.7 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/0.2687, allocations: 9.853 MB / 356.5 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.2799, allocations: 7.219 MB / 363.7 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00543/0.2853, allocations: 1.831 MB / 365.6 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006623/0.2919, allocations: 2.214 MB / 367.8 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006198/0.2981, allocations: 3.727 MB / 371.5 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009763/0.3079, allocations: 4.69 MB / 376.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.3244, allocations: 11.75 MB / 388 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3244, allocations: 0.625 kB / 388 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3244, allocations: 0 / 388 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005148/0.3249, allocations: 0.6875 kB / 388 MB, free: 11.14 MB / 314.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.02202/0.3469, allocations: 13.62 MB / 401.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.347, allocations: 8.031 kB / 401.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02728/0.3742, allocations: 8.322 MB / 409.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009682/0.3839, allocations: 3.996 MB / 413.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.3846, allocations: 0.8068 MB / 414.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004246/0.3888, allocations: 1.063 MB / 415.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02471/0.4135, allocations: 9.062 MB / 424.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/0.4138, allocations: 15.81 kB / 424.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/0.4156, allocations: 450.6 kB / 425.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004872/0.4161, allocations: 0.6672 MB / 426 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.4287, allocations: 4.766 MB / 430.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05788/0.4866, allocations: 34.57 MB / 465.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.497, allocations: 7.09 MB / 472.4 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.4994, allocations: 1.285 MB / 473.7 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.4996, allocations: 135.9 kB / 473.8 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/0.4997, allocations: 94.45 kB / 473.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=518): time 6.242e-06/0.4997, allocations: 0 / 473.9 MB, free: 8.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=524): time 0.01894/0.5186, allocations: 9.367 MB / 483.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.5187, allocations: 107.5 kB / 483.4 MB, free: 14.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.5212, allocations: 2.65 MB / 486 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000308/0.5215, allocations: 109.7 kB / 486.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.5234, allocations: 4.277 MB / 490.4 MB, free: 8.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.5245, allocations: 1.842 MB / 492.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.5258, allocations: 1.24 MB / 493.5 MB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.5258, allocations: 312.2 kB / 493.8 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5271, allocations: 0.953 MB / 494.7 MB, free: 4.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2398/0.7669, allocations: 3.184 MB / 497.9 MB, free: 98.44 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.7722, allocations: 4.833 MB / 0.491 GB, free: 95.49 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.085e-05/0.7723, allocations: 23.16 kB / 0.491 GB, free: 95.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.006613/0.7789, allocations: 4.633 MB / 0.4955 GB, free: 95.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.779, allocations: 35.34 kB / 0.4956 GB, free: 95.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.146e-05/0.779, allocations: 80.56 kB / 0.4956 GB, free: 95.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.7811, allocations: 1.196 MB / 0.4968 GB, free: 95.15 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.7843, allocations: 1.538 MB / 0.4983 GB, free: 95.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/0.7896, allocations: 5.087 MB / 0.5033 GB, free: 93.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.7923, allocations: 261.8 kB / 0.5035 GB, free: 93.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.7928, allocations: 266.7 kB / 0.5038 GB, free: 93.73 MB / 410.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.001918/0.7947, allocations: 0.5658 MB / 0.5043 GB, free: 93.61 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/0.7953, allocations: 446.1 kB / 0.5048 GB, free: 93.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.7992, allocations: 3.455 MB / 0.5081 GB, free: 93.29 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002507/0.8017, allocations: 2.189 MB / 0.5103 GB, free: 93.06 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.8017, allocations: 12.83 kB / 0.5103 GB, free: 93.06 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.8018, allocations: 25.88 kB / 0.5103 GB, free: 93.06 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.8138, allocations: 9.502 MB / 0.5196 GB, free: 92.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8138, allocations: 0 / 0.5196 GB, free: 92.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/0.8157, allocations: 0.8519 MB / 0.5204 GB, free: 92.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.8176, allocations: 1.061 MB / 0.5215 GB, free: 92.24 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003995/0.818, allocations: 99.72 kB / 0.5215 GB, free: 92.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004931/0.823, allocations: 4.647 MB / 0.5261 GB, free: 90.86 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.823, allocations: 3.875 kB / 0.5261 GB, free: 90.86 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/0.8281, allocations: 4.052 MB / 0.53 GB, free: 89.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.8294, allocations: 0.6099 MB / 0.5306 GB, free: 88.89 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.8298, allocations: 90.31 kB / 0.5307 GB, free: 88.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.8307, allocations: 139.2 kB / 0.5309 GB, free: 88.82 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/0.8313, allocations: 363.9 kB / 0.5312 GB, free: 88.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.8314, allocations: 103.3 kB / 0.5313 GB, free: 88.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001214/0.8326, allocations: 1.213 MB / 0.5325 GB, free: 87.87 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8326, allocations: 0 / 0.5325 GB, free: 87.87 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004211/0.8369, allocations: 1.915 MB / 0.5344 GB, free: 86.16 MB / 410.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.0005198/0.8374, allocations: 292.5 kB / 0.5346 GB, free: 86.02 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.842, allocations: 3.845 MB / 0.5384 GB, free: 83.12 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001115/0.8421, allocations: 68.81 kB / 0.5385 GB, free: 83.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.8443, allocations: 2.035 MB / 0.5404 GB, free: 81.58 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.8471, allocations: 1.016 MB / 0.5414 GB, free: 81.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/0.8685, allocations: 15.75 MB / 0.5568 GB, free: 66.76 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.8708, allocations: 2.147 MB / 0.5589 GB, free: 64.85 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002567/0.8734, allocations: 0.8146 MB / 0.5597 GB, free: 64.03 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/0.8753, allocations: 1.034 MB / 0.5607 GB, free: 62.99 MB / 410.8 MB Notification: Performance of SimCode: time 2.064e-06/0.8753, allocations: 4 kB / 0.5607 GB, free: 62.98 MB / 410.8 MB Notification: Performance of Templates: time 0.2131/1.088, allocations: 77.64 MB / 0.6365 GB, free: 117.5 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 -s gbode -gbm=radauIIA3 -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: 4.943545155227184]