Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001742/0.001742, allocations: 96.77 kB / 20.96 MB, free: 480 kB / 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.001965/0.001965, allocations: 146.5 kB / 24.24 MB, free: 3.527 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.474/1.474, allocations: 173.3 MB / 200.8 MB, free: 12.75 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.171e-05, allocations: 5.406 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01209/0.01212, allocations: 8.609 MB / 275.9 MB, free: 1.551 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.01856, allocations: 2.863 MB / 278.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.01997, allocations: 59.62 kB / 278.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.02195, allocations: 0.6208 MB / 279.5 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.02448, allocations: 0.8186 MB / 280.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.02544, allocations: 375.3 kB / 280.7 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.02888, allocations: 2.509 MB / 283.2 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.03049, allocations: 1.009 MB / 284.2 MB, free: 9.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.03272, allocations: 1.614 MB / 285.8 MB, free: 7.609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.03459, allocations: 1.11 MB / 286.9 MB, free: 6.496 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004161/0.03501, allocations: 280 kB / 287.2 MB, free: 6.223 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.03577, allocations: 363.8 kB / 287.5 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009783/0.03674, allocations: 0.8102 MB / 288.3 MB, free: 5.055 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.03795, allocations: 0.8808 MB / 289.2 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.04244, allocations: 3.681 MB / 292.9 MB, free: 492 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.04245, allocations: 0 / 292.9 MB, free: 492 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.04245, allocations: 0 / 292.9 MB, free: 492 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.897e-05/0.04251, allocations: 0 / 292.9 MB, free: 492 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005461/0.04797, allocations: 2.545 MB / 295.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.04802, allocations: 8.922 kB / 295.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.04906, allocations: 431.4 kB / 295.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.05172, allocations: 1.332 MB / 297.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.05186, allocations: 148.1 kB / 297.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/0.05221, allocations: 200.3 kB / 297.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.05657, allocations: 2.516 MB / 300.1 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.05663, allocations: 19.86 kB / 300.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.05681, allocations: 72 kB / 300.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.05693, allocations: 91.67 kB / 300.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.06042, allocations: 1.955 MB / 302.2 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1426/0.203, allocations: 6.876 MB / 309.1 MB, free: 47.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.205, allocations: 0.9968 MB / 310.1 MB, free: 47.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.2068, allocations: 0.9075 MB / 311 MB, free: 47.06 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.2071, allocations: 49.09 kB / 311 MB, free: 47.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2071, allocations: 44.31 kB / 311.1 MB, free: 47.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=95): time 3.216e-06/0.2071, allocations: 0 / 311.1 MB, free: 47.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=111): time 0.01186/0.2189, allocations: 5.54 MB / 316.6 MB, free: 45.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.219, allocations: 63.88 kB / 316.7 MB, free: 45.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.2206, allocations: 1.165 MB / 317.8 MB, free: 44.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.2206, allocations: 49.98 kB / 317.9 MB, free: 44.78 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.2211, allocations: 0.945 MB / 318.8 MB, free: 44.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.2213, allocations: 403.1 kB / 319.2 MB, free: 43.9 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.2217, allocations: 253.3 kB / 319.5 MB, free: 43.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.2218, allocations: 359 kB / 319.8 MB, free: 43.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.2226, allocations: 0.6393 MB / 320.5 MB, free: 43.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.2237, allocations: 1.002 MB / 321.5 MB, free: 42.56 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.2255, allocations: 1.733 MB / 323.2 MB, free: 41.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.2255, allocations: 3.625 kB / 323.2 MB, free: 41.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003117/0.2286, allocations: 2.298 MB / 325.5 MB, free: 40.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.2287, allocations: 10.84 kB / 325.5 MB, free: 40.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2287, allocations: 11.03 kB / 325.5 MB, free: 40.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.2297, allocations: 491.4 kB / 326 MB, free: 40.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009946/0.2307, allocations: 313.4 kB / 326.3 MB, free: 40.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.236, allocations: 6.728 MB / 333 MB, free: 33.49 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.237, allocations: 91.86 kB / 333.1 MB, free: 33.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.2371, allocations: 52 kB / 333.2 MB, free: 33.35 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000966/0.2381, allocations: 0.6028 MB / 333.8 MB, free: 32.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.2384, allocations: 183.1 kB / 334 MB, free: 32.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.2412, allocations: 1.936 MB / 335.9 MB, free: 30.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.2412, allocations: 12 kB / 335.9 MB, free: 30.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2412, allocations: 4 kB / 335.9 MB, free: 30.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2412, allocations: 6.938 kB / 335.9 MB, free: 30.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.2464, allocations: 3.634 MB / 339.5 MB, free: 26.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2464, allocations: 0 / 339.5 MB, free: 26.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.2472, allocations: 183.8 kB / 339.7 MB, free: 26.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.2485, allocations: 0.5415 MB / 340.3 MB, free: 26.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.2485, allocations: 31.8 kB / 340.3 MB, free: 26.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/0.2546, allocations: 8.227 MB / 348.5 MB, free: 17.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2546, allocations: 0 / 348.5 MB, free: 17.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/0.2585, allocations: 2.869 MB / 351.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.2597, allocations: 270.9 kB / 351.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.2599, allocations: 27.98 kB / 351.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.2607, allocations: 71.86 kB / 351.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.261, allocations: 88.86 kB / 351.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.261, allocations: 36 kB / 351.9 MB, free: 14.1 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.2622, allocations: 0.7789 MB / 352.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2622, allocations: 0 / 352.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001888/0.2641, allocations: 436 kB / 353.1 MB, free: 12.89 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.2645, allocations: 194.1 kB / 353.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.2671, allocations: 2.015 MB / 355.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2671, allocations: 0 / 355.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.2688, allocations: 1.38 MB / 356.7 MB, free: 9.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2704, allocations: 347.2 kB / 357 MB, free: 8.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.2762, allocations: 4.016 MB / 361 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009019/0.2771, allocations: 1.068 MB / 362.1 MB, free: 3.699 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000831/0.2779, allocations: 303.8 kB / 362.4 MB, free: 3.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.2782, allocations: 92.48 kB / 362.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of SimCode: time 1.583e-06/0.2782, allocations: 0 / 362.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of Templates: time 0.03986/0.318, allocations: 22.74 MB / 385.2 MB, free: 12.9 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 5.263144887983799]