Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001294/0.001294, allocations: 73.64 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.001403/0.001403, allocations: 160 kB / 24.5 MB, free: 3.715 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.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.41 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01132/0.1194, allocations: 7.066 MB / 386 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.1238, allocations: 2.455 MB / 388.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007514/0.1246, allocations: 27.88 kB / 388.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.1262, allocations: 0.5248 MB / 389 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.1277, allocations: 484.4 kB / 389.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.1283, allocations: 243.7 kB / 389.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.1303, allocations: 1.436 MB / 391.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.131, allocations: 375.2 kB / 391.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/0.1318, allocations: 0.5642 MB / 392.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007294/0.1326, allocations: 0.4973 MB / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.1327, allocations: 136 kB / 392.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.1331, allocations: 180 kB / 392.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.1333, allocations: 271 kB / 393.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.1339, allocations: 0.5172 MB / 393.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.1359, allocations: 1.72 MB / 395.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1359, allocations: 0 / 395.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1359, allocations: 0 / 395.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.1359, allocations: 0 / 395.4 MB, free: 15.08 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002519/0.1384, allocations: 1.384 MB / 396.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1385, allocations: 12.02 kB / 396.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.139, allocations: 184 kB / 396.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1403, allocations: 0.6534 MB / 397.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.1404, allocations: 74 kB / 397.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1405, allocations: 104 kB / 397.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1422, allocations: 0.9982 MB / 398.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.1423, allocations: 3.984 kB / 398.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-05/0.1424, allocations: 40 kB / 398.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.1424, allocations: 24 kB / 398.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.1437, allocations: 0.6207 MB / 399.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/0.1487, allocations: 3.36 MB / 402.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.1493, allocations: 257.5 kB / 403.1 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1496, allocations: 136.8 kB / 403.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1496, allocations: 4 kB / 403.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1497, allocations: 42.56 kB / 403.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.1497, allocations: 0 / 403.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002322/0.152, allocations: 1.04 MB / 404.3 MB, free: 5.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1521, allocations: 85.11 kB / 404.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1531, allocations: 0.7503 MB / 405.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1532, allocations: 33.7 kB / 405.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.1536, allocations: 0.5889 MB / 405.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1538, allocations: 134.9 kB / 405.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1539, allocations: 130.5 kB / 406 MB, free: 4.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1542, allocations: 386.8 kB / 406.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.1545, allocations: 141.9 kB / 406.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.1551, allocations: 489.9 kB / 407 MB, free: 2.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.156, allocations: 0.6396 MB / 407.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1561, allocations: 4 kB / 407.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001245/0.1573, allocations: 0.6891 MB / 408.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1573, allocations: 12.03 kB / 408.3 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.1573, allocations: 12 kB / 408.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.1575, allocations: 40.84 kB / 408.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.158, allocations: 151.8 kB / 408.5 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.1592, allocations: 1.264 MB / 409.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.1596, allocations: 44 kB / 409.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.1597, allocations: 32 kB / 409.9 MB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.1601, allocations: 256.8 kB / 410.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1602, allocations: 79.48 kB / 410.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007771/0.161, allocations: 381.3 kB / 410.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.161, allocations: 4 kB / 410.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.161, allocations: 0 / 410.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.161, allocations: 7.922 kB / 410.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.1628, allocations: 1.037 MB / 411.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1628, allocations: 4.031 kB / 411.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.1631, allocations: 71.89 kB / 411.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.005e-05/0.1632, allocations: 24.84 kB / 411.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1632, allocations: 8 kB / 411.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1644, allocations: 1.252 MB / 413 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1644, allocations: 4 kB / 413 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.1656, allocations: 0.6207 MB / 413.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.1659, allocations: 107.5 kB / 413.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.1659, allocations: 8 kB / 413.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.1663, allocations: 28.05 kB / 413.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1664, allocations: 31.83 kB / 413.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1664, allocations: 16 kB / 413.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008136/0.1673, allocations: 0.4951 MB / 414.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1673, allocations: 0 / 414.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000743/0.168, allocations: 188 kB / 414.5 MB, free: 10.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002127/0.1682, allocations: 131.2 kB / 414.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009821/0.1692, allocations: 495.4 kB / 415.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1692, allocations: 3.938 kB / 415.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.1696, allocations: 264.1 kB / 415.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.1706, allocations: 175.2 kB / 415.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.1734, allocations: 1.707 MB / 417.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1738, allocations: 404.7 kB / 417.6 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.1741, allocations: 98.23 kB / 417.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1742, allocations: 48.5 kB / 417.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1742, allocations: 0 / 417.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of Templates: time 0.01834/0.1926, allocations: 9.001 MB / 426.8 MB, free: 14.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.618613122962415]