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.001315/0.001315, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001398/0.001398, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 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 0.002347/0.002347, allocations: 54.97 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.119, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009122/0.1281, allocations: 7.148 MB / 386.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.1321, allocations: 2.486 MB / 388.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.1324, allocations: 31.81 kB / 388.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1337, allocations: 0.5286 MB / 389.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008847/0.1346, allocations: 496.4 kB / 389.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.135, allocations: 255.7 kB / 389.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.1365, allocations: 1.479 MB / 391.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.1371, allocations: 367.2 kB / 391.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.1378, allocations: 0.5759 MB / 392.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.1385, allocations: 0.513 MB / 392.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.1387, allocations: 136 kB / 392.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.139, allocations: 180 kB / 393.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1392, allocations: 278.9 kB / 393.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.1398, allocations: 0.5367 MB / 393.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.1416, allocations: 1.743 MB / 395.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1416, allocations: 3.984 kB / 395.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1416, allocations: 0 / 395.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1417, allocations: 0 / 395.6 MB, free: 14.82 MB / 366.1 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.002371/0.144, allocations: 1.407 MB / 397 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1441, allocations: 8.031 kB / 397.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.1447, allocations: 196 kB / 397.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.146, allocations: 0.6767 MB / 397.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.1461, allocations: 74 kB / 398 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1462, allocations: 104 kB / 398.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.1479, allocations: 1.031 MB / 399.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.148, allocations: 4 kB / 399.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.148, allocations: 40 kB / 399.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.1481, allocations: 24 kB / 399.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1493, allocations: 0.6324 MB / 399.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.1544, allocations: 3.354 MB / 403.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.155, allocations: 353.3 kB / 403.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.1556, allocations: 246 kB / 403.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1557, allocations: 4.328 kB / 403.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.1557, allocations: 42.83 kB / 403.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.1557, allocations: 3.938 kB / 403.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002603/0.1583, allocations: 1.249 MB / 405.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1584, allocations: 81.11 kB / 405.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/0.1594, allocations: 0.7582 MB / 405.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.1594, allocations: 33.7 kB / 405.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.1599, allocations: 0.5813 MB / 406.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.16, allocations: 170.6 kB / 406.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.1602, allocations: 130.6 kB / 406.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.1604, allocations: 390.7 kB / 407.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.1607, allocations: 165.9 kB / 407.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.1613, allocations: 489.7 kB / 407.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.1623, allocations: 0.6583 MB / 408.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1623, allocations: 4 kB / 408.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001329/0.1637, allocations: 0.7672 MB / 409.3 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1637, allocations: 8 kB / 409.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.1637, allocations: 8 kB / 409.3 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.164, allocations: 89.61 kB / 409.4 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1645, allocations: 147.9 kB / 409.5 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.1671, allocations: 2.878 MB / 412.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.1676, allocations: 39.94 kB / 412.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.1677, allocations: 36 kB / 412.5 MB, free: 13.07 MB / 382.1 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.0003937/0.168, allocations: 257.7 kB / 412.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1682, allocations: 83.42 kB / 412.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.1691, allocations: 494.6 kB / 413.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1691, allocations: 7.938 kB / 413.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1691, allocations: 0 / 413.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1691, allocations: 3.984 kB / 413.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1711, allocations: 1.205 MB / 414.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1711, allocations: 0 / 414.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.1715, allocations: 67.91 kB / 414.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.1717, allocations: 73.89 kB / 414.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1717, allocations: 8 kB / 414.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.1742, allocations: 2.867 MB / 417.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1742, allocations: 4.031 kB / 417.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1756, allocations: 0.7709 MB / 418.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.1759, allocations: 111.4 kB / 418.4 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.1759, allocations: 12 kB / 418.4 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.1763, allocations: 19.98 kB / 418.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.1764, allocations: 43.95 kB / 418.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1765, allocations: 12 kB / 418.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007896/0.1773, allocations: 0.5069 MB / 419 MB, free: 6.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1773, allocations: 4 kB / 419 MB, free: 6.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009021/0.1782, allocations: 200 kB / 419.2 MB, free: 6.012 MB / 382.1 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.0002314/0.1784, allocations: 131.1 kB / 419.3 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1797, allocations: 0.6675 MB / 420 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1797, allocations: 384 / 420 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.1804, allocations: 436.8 kB / 420.4 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009892/0.1814, allocations: 199.6 kB / 420.6 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.1846, allocations: 1.717 MB / 422.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.1851, allocations: 421.7 kB / 422.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003379/0.1854, allocations: 98.67 kB / 422.8 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1855, allocations: 52.5 kB / 422.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1855, allocations: 0 / 422.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01941/0.205, allocations: 10.12 MB / 433 MB, free: 8.27 MB / 398.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/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.793763200053945]