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.IMC_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.001119/0.001119, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.00115/0.00115, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9311/0.9311, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.84e-05, allocations: 5.125 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01718/0.0172, allocations: 23.24 MB / 292.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.02937, allocations: 7.232 MB / 299.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004179/0.03355, allocations: 226.8 kB / 299.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.04588, allocations: 9.1 MB / 309 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009103/0.05498, allocations: 3.03 MB / 312.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.05923, allocations: 1.717 MB / 313.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.07086, allocations: 11.19 MB / 325 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02317/0.09403, allocations: 14.23 MB / 339.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1492/0.2432, allocations: 8.697 MB / 347.9 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008878/0.2521, allocations: 6.216 MB / 354.1 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002396/0.2545, allocations: 1.663 MB / 355.8 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.2573, allocations: 2.036 MB / 357.8 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.2588, allocations: 3.269 MB / 361.1 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.2624, allocations: 4.127 MB / 365.2 MB, free: 30.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007584/0.27, allocations: 10.39 MB / 375.6 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.27, allocations: 0 / 375.6 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.27, allocations: 0 / 375.6 MB, free: 25.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001483/0.2702, allocations: 1.625 kB / 375.6 MB, free: 25.91 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01618/0.2864, allocations: 12.67 MB / 388.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2864, allocations: 16.02 kB / 388.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.3019, allocations: 6.039 MB / 394.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/0.3092, allocations: 6.259 MB / 400.6 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.3095, allocations: 0.6964 MB / 401.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.3105, allocations: 0.922 MB / 402.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3208, allocations: 7.55 MB / 409.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.3209, allocations: 18.31 kB / 409.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006839/0.3216, allocations: 389.9 kB / 410.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/0.322, allocations: 0.5547 MB / 410.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/0.3279, allocations: 3.561 MB / 414.3 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04319/0.3711, allocations: 40.14 MB / 454.4 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/0.3781, allocations: 6.567 MB / 461 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.3796, allocations: 1.153 MB / 462.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.3798, allocations: 107.1 kB / 462.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.3799, allocations: 76.52 kB / 462.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=398): time 5.26e-06/0.3799, allocations: 0 / 462.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=404): time 0.01689/0.3968, allocations: 8.52 MB / 470.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.3968, allocations: 90.58 kB / 470.9 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.4001, allocations: 3.23 MB / 474.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.4003, allocations: 93.7 kB / 474.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.4027, allocations: 4.388 MB / 478.6 MB, free: 9.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008284/0.4035, allocations: 1.487 MB / 480.1 MB, free: 8.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.4048, allocations: 1.279 MB / 481.4 MB, free: 6.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4049, allocations: 480.7 kB / 481.9 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008613/0.4057, allocations: 0.6711 MB / 482.5 MB, free: 5.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.4084, allocations: 3.937 MB / 486.5 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1607/0.5691, allocations: 5.155 MB / 491.6 MB, free: 83.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-05/0.5691, allocations: 21.73 kB / 491.6 MB, free: 83.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006189/0.5753, allocations: 4.813 MB / 496.5 MB, free: 83.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.5754, allocations: 33.94 kB / 496.5 MB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/0.5754, allocations: 71.34 kB / 496.6 MB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.5775, allocations: 1.078 MB / 497.6 MB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.5796, allocations: 1.239 MB / 498.9 MB, free: 83.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.5849, allocations: 5.724 MB / 0.4928 GB, free: 81.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.5868, allocations: 224.6 kB / 0.493 GB, free: 81.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.5871, allocations: 243.9 kB / 0.4932 GB, free: 81.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001708/0.5888, allocations: 0.5316 MB / 0.4937 GB, free: 80.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/0.5893, allocations: 0.525 MB / 0.4943 GB, free: 80.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.5933, allocations: 3.304 MB / 0.4975 GB, free: 80.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002753/0.596, allocations: 2.304 MB / 0.4997 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.596, allocations: 7.844 kB / 0.4997 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.596, allocations: 20.67 kB / 0.4998 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.608, allocations: 10.83 MB / 0.5103 GB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.608, allocations: 10.11 kB / 0.5103 GB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.6093, allocations: 0.6452 MB / 0.511 GB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.6111, allocations: 0.9736 MB / 0.5119 GB, free: 79.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.6112, allocations: 91.33 kB / 0.512 GB, free: 79.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.6159, allocations: 5.296 MB / 0.5172 GB, free: 76.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6159, allocations: 7.156 kB / 0.5172 GB, free: 76.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.6207, allocations: 4.126 MB / 0.5212 GB, free: 76.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/0.6216, allocations: 0.749 MB / 0.5219 GB, free: 75.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.6219, allocations: 82.34 kB / 0.522 GB, free: 75.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008216/0.6227, allocations: 112.5 kB / 0.5221 GB, free: 75.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.623, allocations: 301.8 kB / 0.5224 GB, free: 75.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.6232, allocations: 90.75 kB / 0.5225 GB, free: 75.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.6243, allocations: 1.407 MB / 0.5239 GB, free: 74.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6243, allocations: 0 / 0.5239 GB, free: 74.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003207/0.6275, allocations: 1.598 MB / 0.5254 GB, free: 73.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003775/0.6279, allocations: 283.5 kB / 0.5257 GB, free: 72.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003779/0.6317, allocations: 3.703 MB / 0.5293 GB, free: 70.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6317, allocations: 4.188 kB / 0.5293 GB, free: 70.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.6336, allocations: 1.93 MB / 0.5312 GB, free: 69.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.6356, allocations: 0.8952 MB / 0.5321 GB, free: 68.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.649, allocations: 13.72 MB / 0.5455 GB, free: 55.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/0.6506, allocations: 2.6 MB / 0.548 GB, free: 53.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001602/0.6522, allocations: 0.67 MB / 0.5487 GB, free: 52.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.6536, allocations: 0.9763 MB / 0.5496 GB, free: 51.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6536, allocations: 0 / 0.5496 GB, free: 51.83 MB / 394.7 MB Notification: Performance of Templates: time 0.07698/0.7306, allocations: 66.4 MB / 0.6145 GB, free: 2.387 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_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.749880732037127]