Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 81.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 58.42 kB / 325.5 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1133, allocations: 53.39 MB / 378.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008558/0.1219, allocations: 6.373 MB / 385.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.126, allocations: 2.205 MB / 387.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.1264, allocations: 31.88 kB / 387.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1277, allocations: 473 kB / 388 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008942/0.1286, allocations: 417 kB / 388.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1291, allocations: 199.8 kB / 388.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.1306, allocations: 1.199 MB / 389.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.1312, allocations: 328.5 kB / 390.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.1319, allocations: 478.2 kB / 390.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.1325, allocations: 433.7 kB / 391 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.1327, allocations: 112 kB / 391.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.133, allocations: 148 kB / 391.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1332, allocations: 231.2 kB / 391.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.1337, allocations: 445.9 kB / 391.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1353, allocations: 1.451 MB / 393.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1353, allocations: 0 / 393.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1353, allocations: 0 / 393.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1353, allocations: 4 kB / 393.4 MB, free: 1.059 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.002155/0.1375, allocations: 1.202 MB / 394.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1375, allocations: 15.98 kB / 394.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.138, allocations: 148.2 kB / 394.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.1392, allocations: 0.5766 MB / 395.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.1392, allocations: 62.38 kB / 395.4 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1393, allocations: 80.33 kB / 395.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1407, allocations: 0.8334 MB / 396.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.1408, allocations: 7.875 kB / 396.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.1408, allocations: 32 kB / 396.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.1409, allocations: 20 kB / 396.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1419, allocations: 0.527 MB / 396.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/0.1461, allocations: 2.92 MB / 399.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1466, allocations: 214.5 kB / 400 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1468, allocations: 112.8 kB / 400.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1469, allocations: 0 / 400.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1469, allocations: 38.56 kB / 400.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.1469, allocations: 0 / 400.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002301/0.1492, allocations: 0.907 MB / 401.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1493, allocations: 85.34 kB / 401.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.1502, allocations: 0.672 MB / 401.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1502, allocations: 33.7 kB / 401.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.1507, allocations: 0.511 MB / 402.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1508, allocations: 111.1 kB / 402.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1509, allocations: 110.2 kB / 402.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.1512, allocations: 374.8 kB / 402.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.1514, allocations: 121.2 kB / 403.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.152, allocations: 447.9 kB / 403.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.1528, allocations: 0.5792 MB / 404.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1528, allocations: 0 / 404.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001137/0.154, allocations: 0.6033 MB / 404.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.154, allocations: 14.66 kB / 404.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.154, allocations: 8.719 kB / 404.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.1542, allocations: 36.86 kB / 404.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.1546, allocations: 135.8 kB / 404.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1558, allocations: 1.26 MB / 406.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.1563, allocations: 35.94 kB / 406.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.1563, allocations: 40.09 kB / 406.2 MB, free: 3.434 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.0003457/0.1566, allocations: 241.5 kB / 406.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1568, allocations: 71.58 kB / 406.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.1574, allocations: 317.1 kB / 406.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1574, allocations: 0 / 406.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1574, allocations: 3.938 kB / 406.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1574, allocations: 11.98 kB / 406.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.159, allocations: 0.895 MB / 407.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.159, allocations: 0 / 407.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.1593, allocations: 59.89 kB / 407.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.743e-05/0.1593, allocations: 29.02 kB / 407.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1594, allocations: 8 kB / 407.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.1604, allocations: 1.244 MB / 409.1 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.1604, allocations: 3.938 kB / 409.1 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.1614, allocations: 0.5523 MB / 409.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.1616, allocations: 91.52 kB / 409.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.1617, allocations: 8 kB / 409.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.162, allocations: 15.98 kB / 409.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.162, allocations: 23.95 kB / 409.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.162, allocations: 12 kB / 409.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006216/0.1627, allocations: 463 kB / 410.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 4 kB / 410.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.1634, allocations: 164 kB / 410.4 MB, free: 15.02 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.0001846/0.1635, allocations: 111.2 kB / 410.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.1644, allocations: 452.3 kB / 410.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1644, allocations: 320 / 410.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.1648, allocations: 242.4 kB / 411.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.1657, allocations: 173.8 kB / 411.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1681, allocations: 1.435 MB / 412.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1685, allocations: 348.5 kB / 413.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.1688, allocations: 89.44 kB / 413.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1689, allocations: 48.5 kB / 413.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1689, allocations: 0 / 413.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0165/0.1854, allocations: 7.997 MB / 421.3 MB, free: 4.191 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.646120919031091]