Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009233/0.0009233, allocations: 75.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000908/0.000908, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9927/0.9927, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.277e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.008562/0.008585, allocations: 9.567 MB / 282.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.01334, allocations: 3.1 MB / 285.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005837/0.01393, allocations: 71.5 kB / 285.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.01494, allocations: 0.6635 MB / 286.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.01622, allocations: 0.8575 MB / 287.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.01671, allocations: 411.2 kB / 287.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.01843, allocations: 2.641 MB / 290.3 MB, free: 372 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1477/0.1662, allocations: 1.257 MB / 291.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002301/0.1685, allocations: 1.796 MB / 293.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.1703, allocations: 1.404 MB / 294.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005898/0.1709, allocations: 317.6 kB / 295.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.1716, allocations: 427.2 kB / 295.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007259/0.1723, allocations: 0.9488 MB / 296.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009138/0.1733, allocations: 0.9856 MB / 297.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.1757, allocations: 2.319 MB / 299.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1757, allocations: 0 / 299.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1757, allocations: 0 / 299.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.1757, allocations: 0 / 299.8 MB, free: 15.3 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.003289/0.179, allocations: 3.063 MB / 302.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.179, allocations: 12.7 kB / 302.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.1798, allocations: 482.6 kB / 303.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.1814, allocations: 1.444 MB / 304.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.1814, allocations: 159.7 kB / 304.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.1816, allocations: 214.3 kB / 305.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1837, allocations: 1.731 MB / 306.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.1837, allocations: 7.891 kB / 306.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1839, allocations: 87.28 kB / 306.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/0.184, allocations: 109.4 kB / 307 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1854, allocations: 0.7959 MB / 307.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007346/0.1927, allocations: 7.009 MB / 314.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.1952, allocations: 0.671 MB / 315.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.1963, allocations: 0.4974 MB / 316 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.1965, allocations: 56.97 kB / 316.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1966, allocations: 42.39 kB / 316.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 3.697e-06/0.1966, allocations: 0 / 316.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.007889/0.2045, allocations: 3.172 MB / 319.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2045, allocations: 64.41 kB / 319.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2062, allocations: 1.182 MB / 320.5 MB, free: 444 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.2063, allocations: 41.7 kB / 320.6 MB, free: 396 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.2072, allocations: 1.152 MB / 321.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.2076, allocations: 435.6 kB / 322.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.2081, allocations: 265.1 kB / 322.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.2083, allocations: 0.5394 MB / 322.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.2089, allocations: 219.8 kB / 323.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.2097, allocations: 0.7561 MB / 323.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2108, allocations: 1.092 MB / 325 MB, free: 11.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/0.2108, allocations: 8 kB / 325 MB, free: 11.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001909/0.2127, allocations: 1.338 MB / 326.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2127, allocations: 8 kB / 326.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.2127, allocations: 12 kB / 326.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.2133, allocations: 248.4 kB / 326.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.214, allocations: 328.5 kB / 326.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.2182, allocations: 6.606 MB / 333.5 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.2192, allocations: 99.78 kB / 333.6 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.2193, allocations: 56 kB / 333.7 MB, free: 2.648 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006846/0.22, allocations: 246 kB / 333.9 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.2202, allocations: 191.6 kB / 334.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.2218, allocations: 1.101 MB / 335.2 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2219, allocations: 12 kB / 335.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.2219, allocations: 4 kB / 335.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2219, allocations: 15.91 kB / 335.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.2261, allocations: 2.991 MB / 338.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.2261, allocations: 4.406 kB / 338.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.2266, allocations: 217.8 kB / 338.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.2273, allocations: 297.2 kB / 338.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.2274, allocations: 35.98 kB / 338.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/0.2321, allocations: 8.404 MB / 347.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2321, allocations: 7.188 kB / 347.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.2345, allocations: 1.613 MB / 348.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.2351, allocations: 278.9 kB / 349.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.2352, allocations: 28 kB / 349.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.2357, allocations: 79.91 kB / 349.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.2358, allocations: 100 kB / 349.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.2359, allocations: 35.98 kB / 349.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008608/0.2368, allocations: 0.6924 MB / 350 MB, free: 1.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2368, allocations: 0 / 350 MB, free: 1.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001441/0.2382, allocations: 463.9 kB / 350.5 MB, free: 1.301 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,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.0003074/0.2385, allocations: 196.5 kB / 350.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.2403, allocations: 1.465 MB / 352.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2403, allocations: 6 kB / 352.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.2415, allocations: 1.257 MB / 353.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2427, allocations: 375.3 kB / 353.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.2483, allocations: 3.833 MB / 357.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.2488, allocations: 0.5598 MB / 358.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007384/0.2495, allocations: 284.5 kB / 358.4 MB, free: 9.191 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.2498, allocations: 108.5 kB / 358.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2498, allocations: 0 / 358.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of Templates: time 0.0324/0.2822, allocations: 23.41 MB / 381.9 MB, free: 2.078 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5379160509910434]