Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001301/0.001301, 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.001379/0.001379, 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 55.25 kB / 325.6 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09507, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008542/0.1036, allocations: 6.354 MB / 385.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.1077, allocations: 2.22 MB / 387.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.1085, allocations: 19.94 kB / 387.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.11, allocations: 481 kB / 388 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1112, allocations: 413 kB / 388.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.1118, allocations: 207.7 kB / 388.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.1135, allocations: 1.21 MB / 389.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.1141, allocations: 320.5 kB / 390.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007943/0.1149, allocations: 474.2 kB / 390.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000763/0.1156, allocations: 433.7 kB / 391 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.1158, allocations: 112 kB / 391.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.1162, allocations: 152 kB / 391.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1164, allocations: 227.2 kB / 391.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.117, allocations: 454 kB / 391.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.1186, allocations: 1.451 MB / 393.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1186, allocations: 0 / 393.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1186, allocations: 0 / 393.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1186, allocations: 0 / 393.4 MB, free: 1.258 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.001975/0.1206, allocations: 1.202 MB / 394.6 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1206, allocations: 8.031 kB / 394.6 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.1212, allocations: 151.4 kB / 394.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1222, allocations: 0.5844 MB / 395.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.1223, allocations: 58.38 kB / 395.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1224, allocations: 81.12 kB / 395.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1237, allocations: 0.8217 MB / 396.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.1238, allocations: 7.953 kB / 396.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.1238, allocations: 43.94 kB / 396.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1239, allocations: 20 kB / 396.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1249, allocations: 0.5114 MB / 396.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.1288, allocations: 2.931 MB / 399.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.1293, allocations: 214.6 kB / 400 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1296, allocations: 105.5 kB / 400.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1296, allocations: 4 kB / 400.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1296, allocations: 38.5 kB / 400.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.1296, allocations: 0 / 400.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001979/0.1316, allocations: 0.8951 MB / 401 MB, free: 9.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1317, allocations: 85.28 kB / 401.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.1326, allocations: 0.6836 MB / 401.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1326, allocations: 29.7 kB / 401.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.133, allocations: 0.5149 MB / 402.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.1331, allocations: 107.1 kB / 402.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1332, allocations: 114.2 kB / 402.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1334, allocations: 382.7 kB / 402.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1337, allocations: 125.2 kB / 403.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.1342, allocations: 447.9 kB / 403.5 MB, free: 6.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.135, allocations: 0.5675 MB / 404.1 MB, free: 5.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.135, allocations: 4 kB / 404.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001085/0.1361, allocations: 0.6039 MB / 404.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1361, allocations: 8 kB / 404.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.1361, allocations: 15.94 kB / 404.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.1363, allocations: 28.84 kB / 404.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.1368, allocations: 143.8 kB / 404.9 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1379, allocations: 1.264 MB / 406.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.1383, allocations: 31.94 kB / 406.2 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1383, allocations: 39.98 kB / 406.2 MB, free: 3.633 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.0003322/0.1387, allocations: 244.7 kB / 406.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.1388, allocations: 67.52 kB / 406.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.1394, allocations: 321.2 kB / 406.8 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1394, allocations: 4 kB / 406.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1394, allocations: 0 / 406.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1394, allocations: 0 / 406.8 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1409, allocations: 0.899 MB / 407.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1409, allocations: 7.938 kB / 407.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.1412, allocations: 59.91 kB / 407.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.213e-05/0.1413, allocations: 20.84 kB / 407.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1413, allocations: 8 kB / 407.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.1423, allocations: 1.249 MB / 409.1 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1423, allocations: 7.969 kB / 409.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.1432, allocations: 0.5414 MB / 409.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.1434, allocations: 95.53 kB / 409.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.1434, allocations: 7.984 kB / 409.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.1438, allocations: 28.02 kB / 409.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.1438, allocations: 23.97 kB / 409.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1439, allocations: 12 kB / 409.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006265/0.1445, allocations: 463 kB / 410.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1445, allocations: 0 / 410.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006859/0.1452, allocations: 160 kB / 410.4 MB, free: 15.21 MB / 382.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.0002009/0.1454, allocations: 123.1 kB / 410.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009163/0.1463, allocations: 451.2 kB / 410.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1463, allocations: 0 / 410.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.1467, allocations: 236.1 kB / 411.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.1475, allocations: 168.7 kB / 411.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1499, allocations: 1.439 MB / 412.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1502, allocations: 348.5 kB / 413.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.1505, allocations: 85.47 kB / 413.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1506, allocations: 48.48 kB / 413.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1506, allocations: 0 / 413.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01599/0.1666, allocations: 8.009 MB / 421.3 MB, free: 4.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.517517202999443]