Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001828/0.001828, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002077/0.002077, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 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.432/1.432, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.077e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01507/0.0151, allocations: 7.158 MB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007457/0.02256, allocations: 2.462 MB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.0237, allocations: 27.88 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.02607, allocations: 0.5246 MB / 277.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.02829, allocations: 0.5155 MB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.02916, allocations: 247.7 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.03225, allocations: 1.536 MB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.03333, allocations: 371.2 kB / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.03536, allocations: 0.8535 MB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.03651, allocations: 442.6 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003196/0.03683, allocations: 140 kB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.03737, allocations: 175.9 kB / 281.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.03776, allocations: 286.9 kB / 282 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008519/0.03861, allocations: 462.9 kB / 282.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.04185, allocations: 1.729 MB / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.04186, allocations: 0 / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04186, allocations: 0 / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.04189, allocations: 3.984 kB / 284.2 MB, free: 5.719 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004015/0.0459, allocations: 1.396 MB / 285.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.04595, allocations: 8.031 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.04719, allocations: 272 kB / 285.9 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.0489, allocations: 0.704 MB / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/0.04898, allocations: 77.94 kB / 286.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.04915, allocations: 96 kB / 286.8 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.05104, allocations: 1.035 MB / 287.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.05109, allocations: 7.891 kB / 287.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.05119, allocations: 44 kB / 287.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.05122, allocations: 31.98 kB / 287.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.05258, allocations: 0.6286 MB / 288.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/0.1682, allocations: 3.402 MB / 291.9 MB, free: 30.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.1688, allocations: 337.3 kB / 292.2 MB, free: 30.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.1693, allocations: 257.1 kB / 292.5 MB, free: 30.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1693, allocations: 7.797 kB / 292.5 MB, free: 30.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1693, allocations: 39.73 kB / 292.5 MB, free: 30.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.1693, allocations: 0 / 292.5 MB, free: 30.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.002398/0.1717, allocations: 1.265 MB / 293.8 MB, free: 30.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.1718, allocations: 83.19 kB / 293.9 MB, free: 29.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.1726, allocations: 0.7576 MB / 294.6 MB, free: 29.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1727, allocations: 32.64 kB / 294.7 MB, free: 29.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.1729, allocations: 0.5789 MB / 295.2 MB, free: 29.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.173, allocations: 168.9 kB / 295.4 MB, free: 29.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1732, allocations: 129.6 kB / 295.5 MB, free: 29.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.1733, allocations: 388.3 kB / 295.9 MB, free: 28.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1736, allocations: 163.8 kB / 296.1 MB, free: 28.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.174, allocations: 493.6 kB / 296.6 MB, free: 28.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1747, allocations: 0.6569 MB / 297.2 MB, free: 27.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.1747, allocations: 3.375 kB / 297.2 MB, free: 27.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001224/0.1759, allocations: 0.7965 MB / 298 MB, free: 27.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1759, allocations: 16.62 kB / 298 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.176, allocations: 13 kB / 298 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.1762, allocations: 87.94 kB / 298.1 MB, free: 27.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.1767, allocations: 150.4 kB / 298.3 MB, free: 27.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.1783, allocations: 2.886 MB / 301.2 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.1788, allocations: 40.88 kB / 301.2 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.1789, allocations: 36.61 kB / 301.2 MB, free: 24.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.1792, allocations: 260.1 kB / 301.5 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1793, allocations: 97.27 kB / 301.6 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.1802, allocations: 484 kB / 302.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1802, allocations: 4.812 kB / 302.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1802, allocations: 1.438 kB / 302.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1802, allocations: 2.531 kB / 302.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.182, allocations: 1.197 MB / 303.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.182, allocations: 1.219 kB / 303.3 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.1823, allocations: 72.2 kB / 303.3 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.1825, allocations: 77.8 kB / 303.4 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.1825, allocations: 13.72 kB / 303.4 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.1841, allocations: 2.872 MB / 306.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1841, allocations: 2.969 kB / 306.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1852, allocations: 0.7689 MB / 307.1 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.1854, allocations: 117.5 kB / 307.2 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-05/0.1855, allocations: 10.72 kB / 307.2 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.1859, allocations: 31.17 kB / 307.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.186, allocations: 31.42 kB / 307.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.186, allocations: 23.39 kB / 307.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005948/0.1866, allocations: 0.5032 MB / 307.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1866, allocations: 0 / 307.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008622/0.1875, allocations: 203.2 kB / 308 MB, free: 19.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * 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,5,100.0%), (1,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.0002348/0.1877, allocations: 126.6 kB / 308.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.1888, allocations: 0.6772 MB / 308.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1888, allocations: 1.375 kB / 308.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.1893, allocations: 430.2 kB / 309.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.1902, allocations: 207.5 kB / 309.4 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1926, allocations: 1.651 MB / 311.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.193, allocations: 417.6 kB / 311.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000317/0.1933, allocations: 95.17 kB / 311.6 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1934, allocations: 51.5 kB / 311.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1934, allocations: 0 / 311.6 MB, free: 17.67 MB / 266.7 MB Notification: Performance of Templates: time 0.01467/0.2081, allocations: 10.06 MB / 321.7 MB, free: 8.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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: 4.84484271297697]