Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001326/0.001326, allocations: 70.03 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.001535/0.001535, allocations: 153 kB / 24.49 MB, free: 3.852 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.429/1.429, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 54.73 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09119, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008688/0.09988, allocations: 6.351 MB / 377.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.1041, allocations: 2.178 MB / 380.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.1048, allocations: 23.88 kB / 380.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.1061, allocations: 473 kB / 380.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.107, allocations: 421 kB / 381 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1074, allocations: 203.8 kB / 381.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1087, allocations: 1.199 MB / 382.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.1092, allocations: 312.5 kB / 382.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.1098, allocations: 478.1 kB / 383.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.1104, allocations: 433.7 kB / 383.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.1105, allocations: 112 kB / 383.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.1108, allocations: 156 kB / 383.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.111, allocations: 231.2 kB / 384.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.1114, allocations: 449.9 kB / 384.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.113, allocations: 1.444 MB / 386 MB, free: 8.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.113, allocations: 0 / 386 MB, free: 8.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.113, allocations: 0 / 386 MB, free: 8.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1131, allocations: 0 / 386 MB, free: 8.863 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00208/0.1151, allocations: 1.209 MB / 387.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1152, allocations: 8.031 kB / 387.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004946/0.1157, allocations: 156.2 kB / 387.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1167, allocations: 0.5765 MB / 387.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.1168, allocations: 58.38 kB / 388 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.1169, allocations: 80.33 kB / 388.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1183, allocations: 0.8373 MB / 388.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1183, allocations: 3.938 kB / 388.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.1184, allocations: 36 kB / 388.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.1184, allocations: 20 kB / 388.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1195, allocations: 0.5114 MB / 389.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.1234, allocations: 2.939 MB / 392.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.1239, allocations: 213.5 kB / 392.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.1242, allocations: 116.8 kB / 392.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1242, allocations: 7.875 kB / 392.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1242, allocations: 34.56 kB / 392.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.1242, allocations: 0 / 392.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001957/0.1262, allocations: 0.9 MB / 393.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.1262, allocations: 81.34 kB / 393.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.1271, allocations: 0.6797 MB / 394.4 MB, free: 44 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1271, allocations: 29.7 kB / 394.4 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.1275, allocations: 0.5149 MB / 395 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.1276, allocations: 111.1 kB / 395.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.1278, allocations: 110.2 kB / 395.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1279, allocations: 374.8 kB / 395.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1282, allocations: 121.2 kB / 395.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.1288, allocations: 447.9 kB / 396.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.1296, allocations: 0.5714 MB / 396.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1296, allocations: 4 kB / 396.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001091/0.1307, allocations: 0.6075 MB / 397.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1307, allocations: 10.81 kB / 397.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1307, allocations: 15.98 kB / 397.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.1309, allocations: 24.86 kB / 397.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.1313, allocations: 139.8 kB / 397.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.1324, allocations: 1.26 MB / 398.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.1328, allocations: 31.98 kB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.1328, allocations: 35.94 kB / 398.8 MB, free: 11.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003067/0.1332, allocations: 241.7 kB / 399 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1333, allocations: 75.53 kB / 399.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.1339, allocations: 313.1 kB / 399.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1339, allocations: 4 kB / 399.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.134, allocations: 3.938 kB / 399.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.134, allocations: 0 / 399.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.1355, allocations: 0.9068 MB / 400.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1355, allocations: 4 kB / 400.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1358, allocations: 63.89 kB / 400.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.1359, allocations: 16.86 kB / 400.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1359, allocations: 8 kB / 400.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.1369, allocations: 1.245 MB / 401.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.1369, allocations: 7.969 kB / 401.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/0.1379, allocations: 0.5532 MB / 402.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.1381, allocations: 91.47 kB / 402.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.1381, allocations: 8 kB / 402.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.1384, allocations: 19.98 kB / 402.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.1385, allocations: 23.95 kB / 402.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1385, allocations: 12 kB / 402.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.1392, allocations: 466.9 kB / 402.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1392, allocations: 0 / 402.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.1398, allocations: 163.9 kB / 403 MB, free: 6.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0002024/0.14, allocations: 119.2 kB / 403.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.1409, allocations: 456.5 kB / 403.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.141, allocations: 0 / 403.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.1413, allocations: 243 kB / 403.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.1422, allocations: 166.9 kB / 404 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1444, allocations: 1.423 MB / 405.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1448, allocations: 348.5 kB / 405.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.1451, allocations: 89.45 kB / 405.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.1452, allocations: 44.5 kB / 405.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1452, allocations: 0 / 405.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of Templates: time 0.01611/0.1613, allocations: 7.985 MB / 413.8 MB, free: 12.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.627658827928826]