Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 51.86 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01144/0.2367, allocations: 8.623 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006857/0.2435, allocations: 3.549 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2447, allocations: 67.56 kB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.2464, allocations: 0.6479 MB / 445.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.2486, allocations: 0.9323 MB / 446.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2497, allocations: 481.4 kB / 446.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.2529, allocations: 2.658 MB / 449.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.2544, allocations: 1.116 MB / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.256, allocations: 1.23 MB / 451.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.2579, allocations: 1.557 MB / 453.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.2584, allocations: 304 kB / 453.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2595, allocations: 0.562 MB / 454.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.2606, allocations: 1.048 MB / 455.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.2619, allocations: 1.19 MB / 456.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.2667, allocations: 4.34 MB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2667, allocations: 0 / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2667, allocations: 3.938 kB / 460.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.939e-05/0.2668, allocations: 0 / 460.7 MB, free: 10.28 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.006091/0.2729, allocations: 3.193 MB / 463.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2729, allocations: 12.03 kB / 463.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.274, allocations: 374.9 kB / 464.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.2773, allocations: 1.666 MB / 465.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2774, allocations: 152 kB / 466 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.2778, allocations: 204 kB / 466.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.2826, allocations: 2.798 MB / 469 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.2827, allocations: 3.953 kB / 469 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.2829, allocations: 87.98 kB / 469.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.283, allocations: 91.94 kB / 469.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.2872, allocations: 2.276 MB / 471.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.3003, allocations: 7.064 MB / 478.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.3034, allocations: 1.321 MB / 479.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.3055, allocations: 1.016 MB / 480.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3057, allocations: 44.97 kB / 480.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.3058, allocations: 47.5 kB / 481 MB, free: 5.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.657e-06/0.3058, allocations: 0 / 481 MB, free: 5.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01415/0.3199, allocations: 6.087 MB / 487.1 MB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.32, allocations: 68.66 kB / 487.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.323, allocations: 2.043 MB / 489.2 MB, free: 13.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.3231, allocations: 49.7 kB / 489.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/0.3241, allocations: 1.156 MB / 490.4 MB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.3245, allocations: 475.9 kB / 490.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004631/0.325, allocations: 247.5 kB / 491.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3252, allocations: 361.9 kB / 491.4 MB, free: 11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3266, allocations: 0.7574 MB / 492.2 MB, free: 10.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.3283, allocations: 1.018 MB / 493.2 MB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.3315, allocations: 1.854 MB / 495.1 MB, free: 7.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.3315, allocations: 15.92 kB / 495.1 MB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005642/0.3371, allocations: 2.735 MB / 497.8 MB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3372, allocations: 8 kB / 497.8 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3372, allocations: 8.25 kB / 497.8 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.3394, allocations: 0.7889 MB / 498.6 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3406, allocations: 267.6 kB / 498.9 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.3538, allocations: 9.236 MB / 0.4962 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3551, allocations: 91.95 kB / 0.4963 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.3552, allocations: 52 kB / 0.4964 GB, free: 9.766 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.001328/0.3566, allocations: 0.7434 MB / 0.4971 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/0.3569, allocations: 202.7 kB / 0.4973 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005041/0.362, allocations: 2.472 MB / 0.4997 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.362, allocations: 19.94 kB / 0.4997 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.362, allocations: 4 kB / 0.4997 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.362, allocations: 7.969 kB / 0.4997 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.371, allocations: 4.381 MB / 0.504 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3711, allocations: 4 kB / 0.504 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.3722, allocations: 219.8 kB / 0.5042 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.3741, allocations: 0.6499 MB / 0.5048 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.3742, allocations: 35.98 kB / 0.5049 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.3844, allocations: 8.262 MB / 0.513 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3844, allocations: 0 / 0.513 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/0.391, allocations: 3.517 MB / 0.5164 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.3921, allocations: 358.5 kB / 0.5167 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.3923, allocations: 24 kB / 0.5168 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009718/0.3933, allocations: 87.89 kB / 0.5168 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.3936, allocations: 112.7 kB / 0.5169 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.3937, allocations: 43.98 kB / 0.517 GB, free: 4.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002061/0.3958, allocations: 1.423 MB / 0.5184 GB, free: 2.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3958, allocations: 0 / 0.5184 GB, free: 2.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001726/0.3975, allocations: 0.5312 MB / 0.5189 GB, free: 2.234 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.001694/0.3992, allocations: 482 kB / 0.5194 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004634/0.4039, allocations: 2.298 MB / 0.5216 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4039, allocations: 4 kB / 0.5216 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.4066, allocations: 1.475 MB / 0.523 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.4086, allocations: 387.1 kB / 0.5234 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.4169, allocations: 5.206 MB / 0.5285 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.4185, allocations: 1.384 MB / 0.5298 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001091/0.4196, allocations: 382.7 kB / 0.5302 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.42, allocations: 123.4 kB / 0.5303 GB, free: 6.52 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.42, allocations: 0 / 0.5303 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2176/0.6376, allocations: 32.94 MB / 0.5625 GB, free: 85.18 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.818819975989754]