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.001315/0.001315, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001416/0.001416, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.486/1.486, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.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.002596/0.002596, allocations: 51.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3073, allocations: 52.19 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01179/0.319, allocations: 8.563 MB / 431.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007211/0.3263, allocations: 3.366 MB / 435 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.328, allocations: 59.62 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.3302, allocations: 0.6482 MB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.3332, allocations: 0.8739 MB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3344, allocations: 471.2 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.3384, allocations: 2.637 MB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.3408, allocations: 1.076 MB / 440.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.3436, allocations: 1.211 MB / 442 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.3475, allocations: 1.455 MB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008504/0.3483, allocations: 304 kB / 443.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.3503, allocations: 0.558 MB / 444.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.352, allocations: 1.044 MB / 445.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.3542, allocations: 1.186 MB / 446.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008171/0.3623, allocations: 4.324 MB / 450.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3624, allocations: 3.938 kB / 450.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3624, allocations: 0 / 450.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001533/0.3625, allocations: 0 / 450.9 MB, free: 2.547 MB / 350.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.01108/0.3736, allocations: 3.168 MB / 454 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.3736, allocations: 8.031 kB / 454 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.3751, allocations: 342.9 kB / 454.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005273/0.3804, allocations: 1.636 MB / 456 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.3806, allocations: 155.9 kB / 456.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000554/0.3812, allocations: 211.9 kB / 456.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008101/0.3893, allocations: 2.795 MB / 459.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.145e-05/0.3893, allocations: 15.86 kB / 459.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.3897, allocations: 83.98 kB / 459.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.3898, allocations: 95.92 kB / 459.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/0.3972, allocations: 2.268 MB / 461.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.418, allocations: 7.064 MB / 468.7 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.421, allocations: 1.312 MB / 470 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.423, allocations: 1.031 MB / 471 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.4233, allocations: 40.97 kB / 471.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.4233, allocations: 51.55 kB / 471.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.747e-06/0.4233, allocations: 0 / 471.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01371/0.437, allocations: 6.101 MB / 477.2 MB, free: 7.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.4371, allocations: 64.72 kB / 477.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.4401, allocations: 2.021 MB / 479.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4402, allocations: 49.7 kB / 479.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000948/0.4411, allocations: 1.136 MB / 480.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.4416, allocations: 475.9 kB / 481 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.4421, allocations: 247.5 kB / 481.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4423, allocations: 357.9 kB / 481.6 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4437, allocations: 0.7613 MB / 482.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4453, allocations: 1.006 MB / 483.3 MB, free: 1.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.4483, allocations: 1.869 MB / 485.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4483, allocations: 0 / 485.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005585/0.4539, allocations: 2.739 MB / 487.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.4539, allocations: 11.94 kB / 487.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.454, allocations: 4 kB / 487.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.456, allocations: 0.7814 MB / 488.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4572, allocations: 271.6 kB / 489 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.47, allocations: 9.221 MB / 498.2 MB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.4714, allocations: 91.89 kB / 498.3 MB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.4715, allocations: 51.98 kB / 498.4 MB, free: 2.156 MB / 398.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.001392/0.4729, allocations: 0.7512 MB / 499.1 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.4734, allocations: 198.7 kB / 499.3 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.4784, allocations: 2.464 MB / 0.49 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/0.4784, allocations: 15.98 kB / 0.49 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.4784, allocations: 12 kB / 0.49 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.4785, allocations: 7.922 kB / 0.49 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009064/0.4875, allocations: 4.362 MB / 0.4943 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.4875, allocations: 4 kB / 0.4943 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4886, allocations: 219.6 kB / 0.4945 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.4904, allocations: 0.6505 MB / 0.4951 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.4905, allocations: 31.98 kB / 0.4952 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009984/0.5005, allocations: 8.274 MB / 0.5033 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5005, allocations: 0 / 0.5033 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006571/0.507, allocations: 3.513 MB / 0.5067 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.5082, allocations: 358.6 kB / 0.507 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.5085, allocations: 28 kB / 0.5071 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/0.5094, allocations: 87.89 kB / 0.5071 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.5097, allocations: 108.7 kB / 0.5072 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/0.5098, allocations: 44.05 kB / 0.5073 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.5119, allocations: 1.41 MB / 0.5087 GB, free: 11.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5119, allocations: 3.938 kB / 0.5087 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001829/0.5137, allocations: 0.5195 MB / 0.5092 GB, free: 10.66 MB / 430.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.001746/0.5155, allocations: 494.9 kB / 0.5096 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00475/0.5202, allocations: 2.299 MB / 0.5119 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5202, allocations: 384 / 0.5119 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/0.523, allocations: 1.459 MB / 0.5133 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.5252, allocations: 381.4 kB / 0.5137 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.5342, allocations: 5.194 MB / 0.5187 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.536, allocations: 1.383 MB / 0.5201 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001303/0.5373, allocations: 374.6 kB / 0.5205 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.5376, allocations: 119.4 kB / 0.5206 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5376, allocations: 4 kB / 0.5206 GB, free: 14.97 MB / 446.1 MB Notification: Performance of Templates: time 0.2889/0.8266, allocations: 32.32 MB / 0.5521 GB, free: 100.8 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.860122488811612]