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.001303/0.001303, allocations: 70.34 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.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.00138/0.00138, allocations: 150 kB / 24.49 MB, free: 3.723 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.418/1.418, allocations: 173.4 MB / 201.1 MB, free: 12.71 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.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 0.002143/0.002143, allocations: 50.78 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1031, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009994/0.1131, allocations: 7.146 MB / 378.7 MB, free: 144 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.118, allocations: 2.447 MB / 381.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009138/0.1189, allocations: 27.88 kB / 381.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.1204, allocations: 0.5247 MB / 381.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.1217, allocations: 0.4925 MB / 382.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.1223, allocations: 251.7 kB / 382.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.124, allocations: 1.486 MB / 384 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/0.1247, allocations: 367.2 kB / 384.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.1255, allocations: 0.5759 MB / 384.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.1262, allocations: 0.509 MB / 385.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.1264, allocations: 136 kB / 385.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.1268, allocations: 176 kB / 385.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.127, allocations: 282.9 kB / 386 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.1277, allocations: 0.5327 MB / 386.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.1297, allocations: 1.743 MB / 388.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1297, allocations: 0 / 388.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1297, allocations: 0 / 388.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1297, allocations: 8 kB / 388.3 MB, free: 6.555 MB / 350.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.002526/0.1323, allocations: 1.403 MB / 389.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1323, allocations: 8.031 kB / 389.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.133, allocations: 192 kB / 389.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1343, allocations: 0.6845 MB / 390.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.1344, allocations: 74 kB / 390.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.1346, allocations: 96 kB / 390.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.1363, allocations: 1.035 MB / 391.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.1363, allocations: 3.953 kB / 391.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.1364, allocations: 44 kB / 391.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.1364, allocations: 24 kB / 391.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1377, allocations: 0.6286 MB / 392.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.1429, allocations: 3.366 MB / 395.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.1436, allocations: 335.5 kB / 396.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.1443, allocations: 253.4 kB / 396.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1443, allocations: 8.312 kB / 396.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1443, allocations: 38.83 kB / 396.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.765e-06/0.1443, allocations: 0 / 396.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002861/0.1472, allocations: 1.259 MB / 397.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.1473, allocations: 85.11 kB / 397.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.1483, allocations: 0.7465 MB / 398.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.1483, allocations: 37.7 kB / 398.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.1488, allocations: 0.589 MB / 399.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1489, allocations: 166.6 kB / 399.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.1491, allocations: 126.6 kB / 399.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1493, allocations: 390.7 kB / 399.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.1497, allocations: 161.9 kB / 400 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.1503, allocations: 489.6 kB / 400.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.1513, allocations: 0.6624 MB / 401.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1513, allocations: 0 / 401.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001426/0.1528, allocations: 0.7594 MB / 401.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.1528, allocations: 11.98 kB / 401.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1528, allocations: 12 kB / 401.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.1531, allocations: 85.88 kB / 402 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.1536, allocations: 151.7 kB / 402.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.1564, allocations: 2.881 MB / 405 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.157, allocations: 35.92 kB / 405 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.1571, allocations: 36 kB / 405.1 MB, free: 4.809 MB / 366.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.000462/0.1575, allocations: 261.6 kB / 405.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.1577, allocations: 87.42 kB / 405.4 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1587, allocations: 486.6 kB / 405.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.1587, allocations: 7.938 kB / 405.9 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1587, allocations: 4 kB / 405.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1587, allocations: 4.125 kB / 405.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.1609, allocations: 1.193 MB / 407.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1609, allocations: 4.219 kB / 407.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1613, allocations: 71.89 kB / 407.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.1615, allocations: 69.69 kB / 407.3 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.1615, allocations: 11.98 kB / 407.3 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.1642, allocations: 2.854 MB / 410.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1642, allocations: 4 kB / 410.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1655, allocations: 0.7718 MB / 410.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.1658, allocations: 111.5 kB / 411 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.1659, allocations: 12 kB / 411 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.1664, allocations: 31.97 kB / 411 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1665, allocations: 39.83 kB / 411.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.1665, allocations: 11.98 kB / 411.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.1673, allocations: 0.5069 MB / 411.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1673, allocations: 0 / 411.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009082/0.1682, allocations: 196 kB / 411.8 MB, free: 13.75 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.0002214/0.1684, allocations: 139 kB / 411.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.1697, allocations: 0.655 MB / 412.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1697, allocations: 0 / 412.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007316/0.1704, allocations: 438.4 kB / 413 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1715, allocations: 202.2 kB / 413.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.1746, allocations: 1.729 MB / 414.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.1751, allocations: 417.7 kB / 415.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.1755, allocations: 90.69 kB / 415.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1756, allocations: 52.5 kB / 415.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1756, allocations: 0 / 415.5 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Templates: time 0.02134/0.197, allocations: 10.09 MB / 425.6 MB, free: 24 kB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/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.626111476914957]