Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.0009742/0.0009742, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002509/0.003483, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001418/0.001418, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001899/0.003317, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9831/0.9831, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1908/1.174, allocations: 49.5 MB / 220.7 MB, free: 1.348 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.549e-05, allocations: 6.312 kB / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02243/0.02246, allocations: 23.59 MB / 245.6 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.03834, allocations: 7.677 MB / 253.3 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005727/0.04407, allocations: 187 kB / 253.5 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.05654, allocations: 9.348 MB / 262.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009695/0.06624, allocations: 3.068 MB / 265.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.07057, allocations: 1.746 MB / 267.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.0835, allocations: 11.4 MB / 279 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2288/0.3123, allocations: 14.31 MB / 293.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02439/0.3367, allocations: 9.095 MB / 302.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/0.3507, allocations: 6.384 MB / 308.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007252/0.358, allocations: 1.68 MB / 310.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009765/0.3678, allocations: 2.059 MB / 312.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006661/0.3744, allocations: 2.663 MB / 315.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.388, allocations: 3.5 MB / 318.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.4096, allocations: 9.929 MB / 328.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.202e-05/0.4097, allocations: 2.531 kB / 328.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4097, allocations: 0.5 kB / 328.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0006599/0.4103, allocations: 0.75 kB / 328.6 MB, free: 13.45 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03708/0.4474, allocations: 14.03 MB / 342.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.4475, allocations: 16.02 kB / 342.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02688/0.4744, allocations: 7.162 MB / 349.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.4858, allocations: 3.103 MB / 353 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007156/0.4865, allocations: 0.7198 MB / 353.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00516/0.4916, allocations: 0.9421 MB / 354.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.5199, allocations: 7.931 MB / 362.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/0.5203, allocations: 15.55 kB / 362.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/0.522, allocations: 400.7 kB / 363 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005697/0.5226, allocations: 0.5551 MB / 363.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.5376, allocations: 4.154 MB / 367.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06766/0.6052, allocations: 31.3 MB / 399 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009327/0.6146, allocations: 6.423 MB / 405.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.6162, allocations: 1.062 MB / 406.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.6268, allocations: 4.483 MB / 410.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.1e-05/0.6269, allocations: 64.89 kB / 411 MB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=297): time 5.761e-06/0.6269, allocations: 0 / 411 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=303): time 0.01878/0.6456, allocations: 7.84 MB / 418.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.6457, allocations: 81.78 kB / 418.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.65, allocations: 2.501 MB / 421.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006325/0.6506, allocations: 77.7 kB / 421.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/0.6534, allocations: 4.086 MB / 425.6 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3949/1.048, allocations: 1.089 MB / 426.7 MB, free: 85.14 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/1.05, allocations: 1.01 MB / 427.7 MB, free: 85.11 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/1.05, allocations: 303.5 kB / 428 MB, free: 84.81 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.052, allocations: 0.7289 MB / 428.7 MB, free: 84.79 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/1.054, allocations: 2.939 MB / 431.6 MB, free: 81.84 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004882/1.059, allocations: 4.457 MB / 436.1 MB, free: 78.9 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-05/1.059, allocations: 24.47 kB / 436.1 MB, free: 78.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006841/1.065, allocations: 3.885 MB / 440 MB, free: 78.69 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/1.066, allocations: 39.22 kB / 440 MB, free: 78.69 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-05/1.066, allocations: 78.94 kB / 440.1 MB, free: 78.69 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/1.068, allocations: 1.051 MB / 441.2 MB, free: 78.64 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/1.07, allocations: 1.272 MB / 442.4 MB, free: 78.64 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/1.076, allocations: 4.525 MB / 447 MB, free: 77.26 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.078, allocations: 215.5 kB / 447.2 MB, free: 77.26 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.079, allocations: 240 kB / 447.4 MB, free: 77.26 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003066/1.082, allocations: 491.9 kB / 447.9 MB, free: 77.14 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/1.082, allocations: 310.8 kB / 448.2 MB, free: 77.14 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/1.086, allocations: 2.429 MB / 450.6 MB, free: 76.92 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002299/1.088, allocations: 1.521 MB / 452.1 MB, free: 76.77 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.088, allocations: 10.25 kB / 452.2 MB, free: 76.77 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/1.088, allocations: 16.31 kB / 452.2 MB, free: 76.77 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/1.099, allocations: 6.748 MB / 458.9 MB, free: 76.17 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.099, allocations: 0 / 458.9 MB, free: 76.17 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/1.101, allocations: 0.5413 MB / 459.5 MB, free: 76.17 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/1.102, allocations: 453.2 kB / 459.9 MB, free: 76.17 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/1.103, allocations: 0.9447 MB / 460.9 MB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/1.104, allocations: 68.47 kB / 460.9 MB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/1.109, allocations: 4.125 MB / 465 MB, free: 74.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.109, allocations: 7.875 kB / 465.1 MB, free: 74.7 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/1.112, allocations: 2.858 MB / 467.9 MB, free: 74.18 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/1.113, allocations: 59.03 kB / 468 MB, free: 74.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/1.114, allocations: 91.56 kB / 468.1 MB, free: 74.17 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.114, allocations: 238 kB / 468.3 MB, free: 74.16 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.114, allocations: 66.23 kB / 468.4 MB, free: 74.16 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001272/1.115, allocations: 1.129 MB / 469.5 MB, free: 74.07 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.41e-07/1.115, allocations: 0 / 469.5 MB, free: 74.07 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005211/1.121, allocations: 1.544 MB / 471 MB, free: 74.07 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005065/1.121, allocations: 218.3 kB / 471.2 MB, free: 74 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004823/1.126, allocations: 3.104 MB / 474.3 MB, free: 73.62 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.00017/1.126, allocations: 96.25 kB / 474.4 MB, free: 73.59 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/1.129, allocations: 1.885 MB / 476.3 MB, free: 72.84 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/1.132, allocations: 7.091 MB / 483.4 MB, free: 65.16 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0644/1.197, allocations: 14.01 MB / 497.4 MB, free: 53.41 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.199, allocations: 1.85 MB / 499.3 MB, free: 51.88 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002986/1.202, allocations: 0.6445 MB / 499.9 MB, free: 51.23 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.204, allocations: 0.8076 MB / 0.489 GB, free: 50.41 MB / 378.8 MB Notification: Performance of SimCode: time 3.216e-06/1.204, allocations: 0 / 0.489 GB, free: 50.41 MB / 378.8 MB Notification: Performance of Templates: time 0.09353/1.298, allocations: 62.7 MB / 0.5502 GB, free: 3.621 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.889420920051634]