Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001377/0.001377, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001573/0.001573, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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 1.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 379.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 53.4 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01283/0.3031, allocations: 9.81 MB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007922/0.3111, allocations: 3.797 MB / 446.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.3128, allocations: 59.62 kB / 446.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.3151, allocations: 0.7027 MB / 446.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.3183, allocations: 0.9362 MB / 447.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3198, allocations: 482.5 kB / 448.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004357/0.3241, allocations: 2.67 MB / 450.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.3265, allocations: 1.113 MB / 452 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.3289, allocations: 1.234 MB / 453.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.3324, allocations: 1.549 MB / 454.8 MB, free: 272 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.3336, allocations: 308 kB / 455.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.3357, allocations: 0.6243 MB / 455.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.3374, allocations: 1.04 MB / 456.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003324/0.3407, allocations: 1.485 MB / 458.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006608/0.3474, allocations: 4.322 MB / 462.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3474, allocations: 0 / 462.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3474, allocations: 0 / 462.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.3475, allocations: 0 / 462.6 MB, free: 8.469 MB / 366.1 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.008703/0.3562, allocations: 3.193 MB / 465.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/0.3563, allocations: 12.03 kB / 465.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.3579, allocations: 378.8 kB / 466.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.3618, allocations: 1.654 MB / 467.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.362, allocations: 152.4 kB / 468 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.3623, allocations: 211.8 kB / 468.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/0.3674, allocations: 2.698 MB / 470.9 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/0.3674, allocations: 7.891 kB / 470.9 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.3676, allocations: 84.08 kB / 471 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.3678, allocations: 95.92 kB / 471.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.3722, allocations: 2.28 MB / 473.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.3879, allocations: 8.022 MB / 481.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.3908, allocations: 1.317 MB / 482.7 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.3928, allocations: 1.019 MB / 483.7 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.3931, allocations: 56.95 kB / 483.7 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.3931, allocations: 43.56 kB / 483.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 5.571e-06/0.3931, allocations: 3.984 kB / 483.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01381/0.4069, allocations: 6.103 MB / 489.9 MB, free: 12.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.407, allocations: 64.72 kB / 490 MB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.4104, allocations: 2.189 MB / 492.1 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.4106, allocations: 53.55 kB / 492.2 MB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.4116, allocations: 1.137 MB / 493.3 MB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.4122, allocations: 483.8 kB / 493.8 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.4126, allocations: 239.5 kB / 494 MB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4129, allocations: 365.9 kB / 494.4 MB, free: 8.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.4143, allocations: 0.7535 MB / 495.2 MB, free: 7.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.4159, allocations: 1.013 MB / 496.2 MB, free: 6.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.419, allocations: 1.865 MB / 498 MB, free: 4.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.419, allocations: 0 / 498 MB, free: 4.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005526/0.4245, allocations: 2.758 MB / 0.4891 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.4246, allocations: 10.66 kB / 0.4891 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.4246, allocations: 4 kB / 0.4891 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.4267, allocations: 0.7892 MB / 0.4898 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4278, allocations: 267.6 kB / 0.4901 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.441, allocations: 9.395 MB / 0.4993 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4426, allocations: 87.89 kB / 0.4994 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.4428, allocations: 51.98 kB / 0.4994 GB, free: 6.711 MB / 414.1 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001518/0.4443, allocations: 0.7473 MB / 0.5001 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005366/0.4449, allocations: 214.6 kB / 0.5003 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.4497, allocations: 2.477 MB / 0.5028 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.4498, allocations: 16 kB / 0.5028 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.4498, allocations: 8 kB / 0.5028 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.4498, allocations: 7.969 kB / 0.5028 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.4599, allocations: 4.898 MB / 0.5076 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4599, allocations: 3.984 kB / 0.5076 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.461, allocations: 219.8 kB / 0.5078 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.4628, allocations: 0.662 MB / 0.5084 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4629, allocations: 31.98 kB / 0.5085 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.4731, allocations: 8.414 MB / 0.5167 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4731, allocations: 64 / 0.5167 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006627/0.4797, allocations: 3.526 MB / 0.5201 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.4811, allocations: 386.4 kB / 0.5205 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.4814, allocations: 28 kB / 0.5205 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/0.4823, allocations: 87.89 kB / 0.5206 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.4826, allocations: 108.7 kB / 0.5207 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4828, allocations: 43.97 kB / 0.5207 GB, free: 352 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002367/0.4851, allocations: 1.532 MB / 0.5222 GB, free: 14.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4851, allocations: 0 / 0.5222 GB, free: 14.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4871, allocations: 0.5234 MB / 0.5228 GB, free: 14.27 MB / 446.1 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.001755/0.4889, allocations: 462 kB / 0.5232 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004696/0.4936, allocations: 2.298 MB / 0.5254 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4936, allocations: 0 / 0.5254 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.4963, allocations: 1.467 MB / 0.5269 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.4987, allocations: 455.7 kB / 0.5273 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5091, allocations: 5.287 MB / 0.5325 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.5111, allocations: 1.944 MB / 0.5344 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/0.5118, allocations: 143.4 kB / 0.5345 GB, free: 2.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5118, allocations: 0 / 0.5345 GB, free: 2.18 MB / 446.1 MB Notification: Performance of Templates: time 0.2978/0.8096, allocations: 64.59 MB / 0.5976 GB, free: 47.97 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.883847413118929]