Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009764/0.0009764, allocations: 85.91 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 164.9 kB / 25.61 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8779/0.8779, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.861e-05, allocations: 2.312 kB / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01749/0.01751, allocations: 23.38 MB / 297.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.0302, allocations: 7.926 MB / 305.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/0.03405, allocations: 214.9 kB / 305.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.04495, allocations: 8.66 MB / 314.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009199/0.05415, allocations: 3.138 MB / 317.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.05791, allocations: 1.834 MB / 319.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.06964, allocations: 11.7 MB / 331 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1399/0.2095, allocations: 14.53 MB / 345.6 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.2198, allocations: 9.037 MB / 354.6 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007363/0.2272, allocations: 6.406 MB / 361 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003201/0.2304, allocations: 1.712 MB / 362.7 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.2334, allocations: 2.15 MB / 364.9 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.2357, allocations: 3.511 MB / 368.4 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005097/0.2408, allocations: 4.268 MB / 372.6 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009756/0.2505, allocations: 10.88 MB / 383.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2505, allocations: 0 / 383.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2505, allocations: 0 / 383.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003876/0.2509, allocations: 0.75 kB / 383.5 MB, free: 13.54 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.01803/0.2689, allocations: 13.41 MB / 396.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.269, allocations: 16.03 kB / 396.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.2863, allocations: 6.094 MB / 403 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009513/0.2958, allocations: 6.563 MB / 409.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.2963, allocations: 0.7166 MB / 410.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/0.298, allocations: 0.9497 MB / 411.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.3115, allocations: 7.786 MB / 419.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.3117, allocations: 11.91 kB / 419.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008418/0.3125, allocations: 399.7 kB / 419.5 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004023/0.313, allocations: 0.5663 MB / 420 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007794/0.3207, allocations: 3.686 MB / 423.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05334/0.3741, allocations: 41.25 MB / 465 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006613/0.3807, allocations: 5.713 MB / 470.7 MB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.3823, allocations: 1.329 MB / 472 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.3826, allocations: 151.4 kB / 472.1 MB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.3826, allocations: 80.89 kB / 472.2 MB, free: 8.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 6.472e-06/0.3826, allocations: 0 / 472.2 MB, free: 8.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.02305/0.4057, allocations: 10.73 MB / 483 MB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4057, allocations: 98.89 kB / 483.1 MB, free: 13.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0042/0.4099, allocations: 3.778 MB / 486.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004275/0.4104, allocations: 93.7 kB / 486.9 MB, free: 10.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/0.4127, allocations: 4.644 MB / 491.6 MB, free: 5.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/0.414, allocations: 1.654 MB / 493.2 MB, free: 4.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.4154, allocations: 1.359 MB / 494.6 MB, free: 2.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4155, allocations: 479.8 kB / 495 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4166, allocations: 0.738 MB / 495.8 MB, free: 1.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2165/0.6332, allocations: 3.992 MB / 499.8 MB, free: 92.53 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.6375, allocations: 5.389 MB / 0.4933 GB, free: 88.77 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-05/0.6376, allocations: 21.11 kB / 0.4933 GB, free: 88.77 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007402/0.645, allocations: 5.186 MB / 0.4984 GB, free: 88.54 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.645, allocations: 35.06 kB / 0.4984 GB, free: 88.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/0.6451, allocations: 67.91 kB / 0.4985 GB, free: 88.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.6475, allocations: 1.226 MB / 0.4997 GB, free: 88.46 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.6502, allocations: 1.276 MB / 0.501 GB, free: 88.46 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/0.657, allocations: 8.378 MB / 0.5091 GB, free: 84.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.6603, allocations: 216.7 kB / 0.5093 GB, free: 84.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.6612, allocations: 253.8 kB / 0.5096 GB, free: 84.47 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00247/0.6637, allocations: 0.5479 MB / 0.5101 GB, free: 84.31 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009999/0.6647, allocations: 0.5969 MB / 0.5107 GB, free: 84.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/0.6702, allocations: 5.145 MB / 0.5157 GB, free: 83.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003266/0.6735, allocations: 2.587 MB / 0.5182 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6735, allocations: 11.72 kB / 0.5183 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.6735, allocations: 26.95 kB / 0.5183 GB, free: 83.53 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.6891, allocations: 11.56 MB / 0.5296 GB, free: 82.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6891, allocations: 11.2 kB / 0.5296 GB, free: 82.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.6907, allocations: 0.706 MB / 0.5303 GB, free: 82.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.6928, allocations: 1.108 MB / 0.5314 GB, free: 82.31 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.693, allocations: 111.6 kB / 0.5315 GB, free: 82.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006004/0.699, allocations: 7.934 MB / 0.5392 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.699, allocations: 14.72 kB / 0.5392 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005959/0.705, allocations: 4.785 MB / 0.5439 GB, free: 74.85 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.7064, allocations: 0.8656 MB / 0.5447 GB, free: 74.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/0.7068, allocations: 96.97 kB / 0.5448 GB, free: 74.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/0.7078, allocations: 112.5 kB / 0.5449 GB, free: 74.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005341/0.7083, allocations: 349.5 kB / 0.5453 GB, free: 74.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.7085, allocations: 112.5 kB / 0.5454 GB, free: 74.12 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001929/0.7104, allocations: 1.688 MB / 0.547 GB, free: 73.09 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7104, allocations: 0 / 0.547 GB, free: 73.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00415/0.7146, allocations: 1.709 MB / 0.5487 GB, free: 71.38 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.7156, allocations: 0.5107 MB / 0.5492 GB, free: 71.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.7207, allocations: 4.216 MB / 0.5533 GB, free: 67.65 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.7207, allocations: 4.5 kB / 0.5533 GB, free: 67.65 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.7232, allocations: 2.333 MB / 0.5556 GB, free: 65.73 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.7261, allocations: 0.9894 MB / 0.5566 GB, free: 64.91 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.7419, allocations: 14.87 MB / 0.5711 GB, free: 50.85 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/0.7438, allocations: 2.746 MB / 0.5738 GB, free: 48.08 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002209/0.746, allocations: 0.7353 MB / 0.5745 GB, free: 47.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.7475, allocations: 1.048 MB / 0.5755 GB, free: 46.29 MB / 410.8 MB Notification: Performance of SimCode: time 1.844e-06/0.7475, allocations: 0 / 0.5755 GB, free: 46.29 MB / 410.8 MB Notification: Performance of Templates: time 0.2076/0.9551, allocations: 72.52 MB / 0.6463 GB, free: 112.3 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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.614991620648652]