Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001478/0.001478, allocations: 75.77 kB / 22.46 MB, free: 2.082 MB / 18.57 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.001683/0.001683, allocations: 163.4 kB / 25.75 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 187.5 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.044e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006096/0.006116, allocations: 7.061 MB / 258.2 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.009365, allocations: 2.334 MB / 260.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.009707, allocations: 23.94 kB / 260.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.0106, allocations: 480.9 kB / 261 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.01112, allocations: 428.7 kB / 261.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.01138, allocations: 203.7 kB / 261.6 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008435/0.01222, allocations: 1.259 MB / 262.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007782/0.013, allocations: 312.5 kB / 263.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.01393, allocations: 0.7014 MB / 263.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.0144, allocations: 394.8 kB / 264.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.01455, allocations: 116 kB / 264.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.01481, allocations: 152 kB / 264.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.01496, allocations: 239.1 kB / 264.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.01534, allocations: 375.1 kB / 265.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.01643, allocations: 0.7744 MB / 265.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01644, allocations: 0 / 265.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01644, allocations: 0 / 265.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.01645, allocations: 4 kB / 265.9 MB, free: 8.895 MB / 250.7 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.001476/0.01793, allocations: 1.297 MB / 267.2 MB, free: 7.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.01798, allocations: 15.98 kB / 267.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.0184, allocations: 216.2 kB / 267.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.01923, allocations: 0.5909 MB / 268 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.01927, allocations: 58.38 kB / 268.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.01936, allocations: 80.38 kB / 268.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008814/0.02024, allocations: 0.6608 MB / 268.8 MB, free: 5.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.02028, allocations: 12.14 kB / 268.8 MB, free: 5.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.02035, allocations: 35.94 kB / 268.9 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.02037, allocations: 20 kB / 268.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.02098, allocations: 291.7 kB / 269.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.02384, allocations: 3.247 MB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.02413, allocations: 154.6 kB / 272.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.02422, allocations: 67.59 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.02425, allocations: 8.422 kB / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.02428, allocations: 45.39 kB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.02428, allocations: 0 / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.001184/0.02546, allocations: 0.709 MB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.02552, allocations: 89.05 kB / 273.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.02616, allocations: 0.6828 MB / 274.2 MB, free: 228 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.02618, allocations: 29.7 kB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.02649, allocations: 0.5684 MB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.546e-05/0.02658, allocations: 111.1 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.02674, allocations: 115.9 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.02696, allocations: 0.5547 MB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.02711, allocations: 65.27 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.02754, allocations: 0.4952 MB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.02817, allocations: 0.58 MB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.02818, allocations: 0 / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007787/0.02895, allocations: 0.5122 MB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.02897, allocations: 8 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.02899, allocations: 15.94 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.02914, allocations: 32.33 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.0294, allocations: 135.8 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.03025, allocations: 1.74 MB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.03049, allocations: 31.95 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.03051, allocations: 32 kB / 279.2 MB, free: 10.66 MB / 266.7 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.0001791/0.03069, allocations: 208.4 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.03077, allocations: 75.58 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.03107, allocations: 227.8 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.03108, allocations: 0 / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.03108, allocations: 4 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.03108, allocations: 3.984 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.03202, allocations: 0.9202 MB / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.03203, allocations: 4 kB / 280.6 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.03218, allocations: 59.84 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.432e-05/0.03225, allocations: 19.69 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.03227, allocations: 8 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007206/0.03299, allocations: 1.732 MB / 282.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.03299, allocations: 3.938 kB / 282.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.03344, allocations: 0.4979 MB / 282.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.03356, allocations: 91.53 kB / 283 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.0336, allocations: 8 kB / 283 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.03375, allocations: 15.92 kB / 283.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.03381, allocations: 28.02 kB / 283.1 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.03382, allocations: 12 kB / 283.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003645/0.03418, allocations: 431 kB / 283.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03418, allocations: 0 / 283.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.03464, allocations: 160 kB / 283.7 MB, free: 5.895 MB / 266.7 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.0001905/0.03483, allocations: 119.1 kB / 283.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.03533, allocations: 431.7 kB / 284.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.03533, allocations: 0 / 284.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.0355, allocations: 257.7 kB / 284.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.03605, allocations: 179 kB / 284.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.03795, allocations: 1.339 MB / 286 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.622e-05/0.03805, allocations: 150.1 kB / 286.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.03825, allocations: 77.48 kB / 286.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.03832, allocations: 44.5 kB / 286.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03832, allocations: 4 kB / 286.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of Templates: time 0.01182/0.05014, allocations: 7.991 MB / 294.2 MB, free: 11.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.049870199058205]