Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0007378/0.0007378, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001777, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007387/0.0007387, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000899/0.001638, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8772/0.8772, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1625/1.04, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.494e-05, allocations: 2.312 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.007638/0.007663, allocations: 9.448 MB / 249.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.01178, allocations: 3.629 MB / 252.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.01223, allocations: 60.59 kB / 252.9 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009896/0.01322, allocations: 0.6742 MB / 253.6 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.01431, allocations: 0.9159 MB / 254.5 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.01486, allocations: 478.8 kB / 255 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.0166, allocations: 2.75 MB / 257.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008608/0.01746, allocations: 1.105 MB / 258.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.01929, allocations: 2.168 MB / 261 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.0203, allocations: 1.34 MB / 262.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.02053, allocations: 300 kB / 262.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.02114, allocations: 0.5385 MB / 263.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.02166, allocations: 0.8728 MB / 264 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.02225, allocations: 0.803 MB / 264.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.02386, allocations: 2.301 MB / 267.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.02387, allocations: 0 / 267.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02387, allocations: 0 / 267.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.02389, allocations: 0 / 267.2 MB, free: 10.81 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00288/0.02677, allocations: 3.483 MB / 270.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.0268, allocations: 12.03 kB / 270.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.02736, allocations: 465.7 kB / 271.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.02855, allocations: 1.189 MB / 272.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.02862, allocations: 156.3 kB / 272.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.02881, allocations: 208.3 kB / 272.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.03029, allocations: 1.558 MB / 274.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.03032, allocations: 11.89 kB / 274.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.03044, allocations: 83.98 kB / 274.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.03051, allocations: 91.92 kB / 274.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.03129, allocations: 0.5984 MB / 275 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.03619, allocations: 4.89 MB / 279.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.0371, allocations: 0.7072 MB / 280.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.03765, allocations: 487.4 kB / 281.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.03777, allocations: 48.97 kB / 281.1 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.03779, allocations: 51.5 kB / 281.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.184e-06/0.0378, allocations: 4 kB / 281.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004333/0.04213, allocations: 2.797 MB / 284 MB, free: 9.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.04216, allocations: 64.72 kB / 284 MB, free: 9.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.04306, allocations: 1.394 MB / 285.4 MB, free: 8.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.04312, allocations: 49.7 kB / 285.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.04344, allocations: 0.8466 MB / 286.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.04365, allocations: 475.8 kB / 286.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.04388, allocations: 227.5 kB / 287 MB, free: 6.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.04397, allocations: 361.8 kB / 287.4 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.04419, allocations: 178.7 kB / 287.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.0445, allocations: 418.5 kB / 287.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.04513, allocations: 0.7382 MB / 288.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.04514, allocations: 3.938 kB / 288.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001442/0.04658, allocations: 1.058 MB / 289.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.04659, allocations: 8 kB / 289.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.04661, allocations: 8.625 kB / 289.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/0.0476, allocations: 0.5262 MB / 290.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.04819, allocations: 287.6 kB / 290.6 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.05179, allocations: 4.641 MB / 295.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.05215, allocations: 43.98 kB / 295.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.05222, allocations: 39.98 kB / 295.3 MB, free: 13.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.05251, allocations: 180.4 kB / 295.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.0527, allocations: 155.8 kB / 295.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.05399, allocations: 1.004 MB / 296.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.05401, allocations: 19.98 kB / 296.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.05401, allocations: 4 kB / 296.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.05402, allocations: 3.984 kB / 296.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.05656, allocations: 2.259 MB / 298.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.05656, allocations: 4.156 kB / 298.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.05707, allocations: 229.1 kB / 299.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.05735, allocations: 230.7 kB / 299.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.05816, allocations: 484 kB / 299.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.05821, allocations: 27.98 kB / 299.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.06139, allocations: 5.389 MB / 305.2 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.0614, allocations: 15.86 kB / 305.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.06283, allocations: 1.343 MB / 306.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.06294, allocations: 35.97 kB / 306.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.06327, allocations: 43.98 kB / 306.7 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.06341, allocations: 100.8 kB / 306.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.06346, allocations: 27.98 kB / 306.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004523/0.06391, allocations: 0.6664 MB / 307.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06391, allocations: 0 / 307.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008856/0.0648, allocations: 0.5038 MB / 308 MB, free: 0.625 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.06596, allocations: 0.6008 MB / 308.6 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.06717, allocations: 1.185 MB / 309.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.154e-05/0.0672, allocations: 27.12 kB / 309.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008494/0.06805, allocations: 0.9809 MB / 310.8 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.06984, allocations: 3.476 MB / 314.2 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.0829, allocations: 4.145 MB / 318.4 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.08338, allocations: 0.5819 MB / 319 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.08383, allocations: 197.4 kB / 319.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/0.08453, allocations: 393.1 kB / 319.5 MB, free: 4.434 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.08453, allocations: 4 kB / 319.6 MB, free: 4.43 MB / 314.7 MB Notification: Performance of Templates: time 0.1276/0.2121, allocations: 29.73 MB / 349.3 MB, free: 75.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.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: 3.598975671455264]