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.001787/0.001787, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 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.001977/0.001977, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 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 1.439/1.439, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 55.91 kB / 366.9 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 52.13 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0122/0.1173, allocations: 9.701 MB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.1245, allocations: 3.572 MB / 432.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.1261, allocations: 51.81 kB / 432.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.1282, allocations: 0.6911 MB / 433 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.1313, allocations: 0.874 MB / 433.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1327, allocations: 465.8 kB / 434.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.1365, allocations: 2.65 MB / 437 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.1384, allocations: 1.378 MB / 438.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.1404, allocations: 1.187 MB / 439.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.1431, allocations: 1.545 MB / 441.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007151/0.1438, allocations: 304 kB / 441.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.1453, allocations: 0.5971 MB / 442 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.1466, allocations: 1.032 MB / 443 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.1489, allocations: 1.481 MB / 444.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.214/0.363, allocations: 4.305 MB / 448.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.363, allocations: 0.75 kB / 448.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.363, allocations: 0 / 448.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001191/0.3631, allocations: 0.5 kB / 448.8 MB, free: 15.32 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.006863/0.37, allocations: 3.241 MB / 452.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.37, allocations: 15.61 kB / 452.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.3709, allocations: 335.8 kB / 452.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.374, allocations: 1.711 MB / 454.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3741, allocations: 151.7 kB / 454.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.3745, allocations: 210.1 kB / 454.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00593/0.3804, allocations: 2.698 MB / 457.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.3805, allocations: 6.922 kB / 457.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.3807, allocations: 80.97 kB / 457.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.3809, allocations: 96.38 kB / 457.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/0.3857, allocations: 2.28 MB / 459.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.4001, allocations: 8.158 MB / 467.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.403, allocations: 1.538 MB / 469.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.4048, allocations: 1.023 MB / 470.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.4051, allocations: 132.2 kB / 470.5 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4051, allocations: 44.78 kB / 470.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.657e-06/0.4051, allocations: 0 / 470.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01327/0.4184, allocations: 6.49 MB / 477 MB, free: 4.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4184, allocations: 64.34 kB / 477.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.4213, allocations: 2.159 MB / 479.2 MB, free: 3.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.4215, allocations: 48.23 kB / 479.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/0.4221, allocations: 1.128 MB / 480.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.4224, allocations: 481.6 kB / 480.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.4228, allocations: 245.1 kB / 481.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.4229, allocations: 354.5 kB / 481.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.424, allocations: 0.7608 MB / 482.2 MB, free: 1.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4252, allocations: 1.016 MB / 483.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.4278, allocations: 1.859 MB / 485.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4278, allocations: 6.469 kB / 485.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00537/0.4332, allocations: 2.751 MB / 487.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.4332, allocations: 7.781 kB / 487.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4332, allocations: 11.22 kB / 487.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.4354, allocations: 0.7864 MB / 488.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4366, allocations: 266.8 kB / 488.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.4504, allocations: 9.595 MB / 498.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.452, allocations: 95.84 kB / 498.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.4522, allocations: 55.73 kB / 498.7 MB, free: 3.41 MB / 382.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.001495/0.4537, allocations: 0.7451 MB / 499.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.4542, allocations: 210.6 kB / 499.6 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/0.4595, allocations: 2.471 MB / 0.4903 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.4596, allocations: 12 kB / 0.4903 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.4596, allocations: 11.56 kB / 0.4903 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.4596, allocations: 7.969 kB / 0.4903 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.4699, allocations: 4.929 MB / 0.4952 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.4699, allocations: 0 / 0.4952 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.471, allocations: 222.6 kB / 0.4954 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.473, allocations: 0.6552 MB / 0.496 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.4731, allocations: 32.97 kB / 0.496 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.4843, allocations: 8.715 MB / 0.5045 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4843, allocations: 0 / 0.5045 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/0.4915, allocations: 3.528 MB / 0.508 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.4927, allocations: 451.7 kB / 0.5084 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.493, allocations: 32.25 kB / 0.5085 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.4941, allocations: 91.89 kB / 0.5085 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.4945, allocations: 103.3 kB / 0.5086 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.4946, allocations: 39.98 kB / 0.5087 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002516/0.4971, allocations: 1.519 MB / 0.5102 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4971, allocations: 0 / 0.5102 GB, free: 11.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002305/0.4994, allocations: 0.5298 MB / 0.5107 GB, free: 10.7 MB / 414.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.001698/0.5011, allocations: 463.9 kB / 0.5111 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.506, allocations: 2.301 MB / 0.5134 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.506, allocations: 0 / 0.5134 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.5091, allocations: 1.534 MB / 0.5149 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.5117, allocations: 452.7 kB / 0.5153 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.5217, allocations: 5.259 MB / 0.5204 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.5238, allocations: 1.936 MB / 0.5223 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.5245, allocations: 143.4 kB / 0.5225 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5245, allocations: 0 / 0.5225 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Templates: time 0.08414/0.6087, allocations: 64.16 MB / 0.5851 GB, free: 14.59 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 14.682576252846047]