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.001968/0.001968, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002453/0.002453, allocations: 157.7 kB / 24.27 MB, free: 148 kB / 18.57 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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 1.894e-06/1.894e-06, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.05e-05, allocations: 2.312 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01283/0.01286, allocations: 8.632 MB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00784/0.0207, allocations: 3.564 MB / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.02198, allocations: 59.62 kB / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.02401, allocations: 0.6636 MB / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.02719, allocations: 0.9549 MB / 286.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.02906, allocations: 478.9 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005882/0.03494, allocations: 2.762 MB / 289.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1527/0.1877, allocations: 1.064 MB / 290.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.192, allocations: 1.763 MB / 292.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.1951, allocations: 1.312 MB / 293.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1961, allocations: 304.6 kB / 293.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.1982, allocations: 0.5551 MB / 294.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.1997, allocations: 1.066 MB / 295.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.2015, allocations: 0.9971 MB / 296.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005806/0.2073, allocations: 4.35 MB / 300.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2073, allocations: 0.875 kB / 300.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.237e-06/0.2073, allocations: 1.375 kB / 300.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.2075, allocations: 0 / 300.9 MB, free: 14.95 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.008962/0.2164, allocations: 3.157 MB / 304 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2165, allocations: 9.75 kB / 304 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.2182, allocations: 0.5398 MB / 304.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.221, allocations: 1.707 MB / 306.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.2211, allocations: 151.8 kB / 306.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.2214, allocations: 209.5 kB / 306.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.2255, allocations: 2.798 MB / 309.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.2255, allocations: 11.33 kB / 309.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.2257, allocations: 79.42 kB / 309.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-05/0.2258, allocations: 96.64 kB / 309.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.2291, allocations: 2.28 MB / 311.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.2398, allocations: 7.174 MB / 319.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.2424, allocations: 1.321 MB / 320.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.2446, allocations: 1.026 MB / 321.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.2448, allocations: 52.97 kB / 321.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.2449, allocations: 43.56 kB / 321.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.086e-06/0.2449, allocations: 0 / 321.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01549/0.2604, allocations: 6.143 MB / 327.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.2605, allocations: 68.72 kB / 327.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.2639, allocations: 2.043 MB / 329.8 MB, free: 6.488 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.2641, allocations: 45.7 kB / 329.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.2652, allocations: 1.136 MB / 330.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000513/0.2657, allocations: 482.9 kB / 331.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/0.2662, allocations: 239.6 kB / 331.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.2665, allocations: 357.9 kB / 332 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.268, allocations: 0.7574 MB / 332.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.2698, allocations: 1.016 MB / 333.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.2733, allocations: 1.87 MB / 335.6 MB, free: 456 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2733, allocations: 0 / 335.6 MB, free: 456 kB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006202/0.2795, allocations: 2.798 MB / 338.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.2795, allocations: 11.94 kB / 338.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.2795, allocations: 11.94 kB / 338.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.2827, allocations: 0.973 MB / 339.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.284, allocations: 274.6 kB / 339.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.2993, allocations: 9.268 MB / 349 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.3013, allocations: 91.86 kB / 349.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.3015, allocations: 51.98 kB / 349.1 MB, free: 2.871 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001896/0.3034, allocations: 0.7524 MB / 349.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007521/0.3042, allocations: 246.7 kB / 350.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.31, allocations: 2.458 MB / 352.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/0.31, allocations: 20 kB / 352.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.31, allocations: 4 kB / 352.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.31, allocations: 7.969 kB / 352.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.3205, allocations: 4.379 MB / 357 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3205, allocations: 4.156 kB / 357 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.3217, allocations: 214.6 kB / 357.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/0.3244, allocations: 0.7325 MB / 357.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.3245, allocations: 32.16 kB / 358 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.3361, allocations: 8.295 MB / 366.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.3361, allocations: 7.219 kB / 366.3 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007518/0.3436, allocations: 3.561 MB / 369.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.3448, allocations: 362.5 kB / 370.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.3451, allocations: 32.06 kB / 370.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.3462, allocations: 87.89 kB / 370.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.3465, allocations: 104.8 kB / 370.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.3467, allocations: 39.97 kB / 370.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002509/0.3492, allocations: 1.427 MB / 371.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 371.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002251/0.3514, allocations: 0.5156 MB / 372.4 MB, free: 11.34 MB / 330.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.002144/0.3536, allocations: 0.4951 MB / 372.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005189/0.3587, allocations: 2.304 MB / 375.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3588, allocations: 0 / 375.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.3618, allocations: 1.457 MB / 376.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.3644, allocations: 411.8 kB / 377 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3755, allocations: 5.1 MB / 382.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.3775, allocations: 1.395 MB / 383.5 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001442/0.379, allocations: 374.8 kB / 383.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.3794, allocations: 124.4 kB / 384 MB, free: 15.8 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3794, allocations: 0 / 384 MB, free: 15.8 MB / 346.7 MB Notification: Performance of Templates: time 0.05748/0.4369, allocations: 29.6 MB / 413.6 MB, free: 2.566 MB / 362.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.593436172930524]