Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.00202/0.00202, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002553/0.002553, allocations: 161.7 kB / 24.26 MB, free: 176 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.558/1.558, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.517e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.0188/0.01884, allocations: 7.166 MB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008333/0.02717, allocations: 2.49 MB / 282 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.02825, allocations: 27.88 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.03076, allocations: 0.5362 MB / 282.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.03329, allocations: 0.5155 MB / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.03426, allocations: 243.7 kB / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003291/0.03755, allocations: 1.539 MB / 284.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.03871, allocations: 371.2 kB / 285.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.0409, allocations: 0.8651 MB / 286.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.04208, allocations: 442.6 kB / 286.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.04241, allocations: 140 kB / 286.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.04299, allocations: 172 kB / 286.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.04342, allocations: 290.8 kB / 287.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000912/0.04433, allocations: 462.9 kB / 287.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.04796, allocations: 1.729 MB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.04797, allocations: 0 / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.04797, allocations: 4 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.048, allocations: 0 / 289.3 MB, free: 0.7891 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.1179/0.1659, allocations: 1.388 MB / 290.7 MB, free: 28.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.166, allocations: 10.5 kB / 290.7 MB, free: 28.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007507/0.1667, allocations: 269.8 kB / 290.9 MB, free: 28.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.1681, allocations: 0.697 MB / 291.6 MB, free: 28.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.1681, allocations: 70.56 kB / 291.7 MB, free: 28.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1682, allocations: 101.8 kB / 291.8 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1697, allocations: 1.035 MB / 292.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.1698, allocations: 5.828 kB / 292.8 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.1698, allocations: 40.75 kB / 292.9 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.1698, allocations: 24.69 kB / 292.9 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.171, allocations: 0.634 MB / 293.5 MB, free: 27.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.1751, allocations: 3.409 MB / 296.9 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.1757, allocations: 344.2 kB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.1762, allocations: 253.8 kB / 297.5 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1763, allocations: 11.02 kB / 297.5 MB, free: 25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1763, allocations: 42.64 kB / 297.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.1763, allocations: 0 / 297.6 MB, free: 24.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.002509/0.1788, allocations: 1.267 MB / 298.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1788, allocations: 83.22 kB / 298.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.1798, allocations: 0.7542 MB / 299.7 MB, free: 23.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1798, allocations: 35.14 kB / 299.7 MB, free: 23.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.1801, allocations: 0.579 MB / 300.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.1802, allocations: 159.6 kB / 300.5 MB, free: 23.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.1804, allocations: 132.2 kB / 300.6 MB, free: 23.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1805, allocations: 385.5 kB / 301 MB, free: 22.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.1808, allocations: 166.5 kB / 301.1 MB, free: 22.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.1812, allocations: 492.5 kB / 301.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.182, allocations: 0.6557 MB / 302.3 MB, free: 21.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.182, allocations: 5.156 kB / 302.3 MB, free: 21.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001307/0.1833, allocations: 0.7977 MB / 303.1 MB, free: 21.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1834, allocations: 9.625 kB / 303.1 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1834, allocations: 17.56 kB / 303.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.1837, allocations: 78.78 kB / 303.2 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.1841, allocations: 155 kB / 303.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.1858, allocations: 2.882 MB / 306.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.1864, allocations: 36.09 kB / 306.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.1865, allocations: 35.75 kB / 306.3 MB, free: 18.53 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.0003527/0.1868, allocations: 260.5 kB / 306.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.187, allocations: 99.45 kB / 306.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.1878, allocations: 487.4 kB / 307.1 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1878, allocations: 5.562 kB / 307.1 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1878, allocations: 3.469 kB / 307.1 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1879, allocations: 1.688 kB / 307.1 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.1898, allocations: 1.199 MB / 308.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1898, allocations: 0 / 308.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.19, allocations: 77.14 kB / 308.4 MB, free: 17.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.1903, allocations: 74.27 kB / 308.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1903, allocations: 15.16 kB / 308.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.192, allocations: 2.865 MB / 311.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.192, allocations: 3.938 kB / 311.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1931, allocations: 0.7774 MB / 312.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.1934, allocations: 107.5 kB / 312.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/0.1935, allocations: 12 kB / 312.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.1939, allocations: 23.98 kB / 312.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.194, allocations: 43.81 kB / 312.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.194, allocations: 16 kB / 312.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00057/0.1946, allocations: 0.5029 MB / 312.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1946, allocations: 0 / 312.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009114/0.1955, allocations: 207.9 kB / 313 MB, free: 12.64 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.0002198/0.1957, allocations: 119.2 kB / 313.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1967, allocations: 0.675 MB / 313.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1967, allocations: 0 / 313.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.1972, allocations: 436.7 kB / 314.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.1982, allocations: 206.5 kB / 314.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.2005, allocations: 1.666 MB / 316.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2008, allocations: 413.7 kB / 316.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.2011, allocations: 94.67 kB / 316.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2012, allocations: 56.5 kB / 316.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2012, allocations: 4 kB / 316.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Templates: time 0.01593/0.2171, allocations: 10.07 MB / 326.7 MB, free: 15.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.925620840047486]