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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002289/0.002289, allocations: 211.7 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] 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.001864/0.001864, allocations: 59.91 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2423, allocations: 53.32 MB / 430.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009707/0.252, allocations: 7.181 MB / 437.4 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.2565, allocations: 2.387 MB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.2572, allocations: 19.94 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2586, allocations: 0.5049 MB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.2597, allocations: 421 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.2602, allocations: 207.7 kB / 440.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.2618, allocations: 1.203 MB / 442.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.2624, allocations: 340 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006828/0.2631, allocations: 478.1 kB / 442.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.2637, allocations: 493.8 kB / 443.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.2638, allocations: 112 kB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.2642, allocations: 160 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.2644, allocations: 227.2 kB / 443.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.2651, allocations: 0.5443 MB / 444.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.2671, allocations: 1.432 MB / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2671, allocations: 0 / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2671, allocations: 0 / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.2671, allocations: 0 / 445.9 MB, free: 7.91 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.002269/0.2694, allocations: 1.285 MB / 447.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2694, allocations: 8.031 kB / 447.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.2699, allocations: 156.2 kB / 447.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2711, allocations: 0.6538 MB / 448 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.2711, allocations: 62.36 kB / 448 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2713, allocations: 80.38 kB / 448.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.2726, allocations: 0.7831 MB / 448.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.2727, allocations: 11.95 kB / 448.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.2728, allocations: 28 kB / 448.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.2728, allocations: 20 kB / 448.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2739, allocations: 0.5191 MB / 449.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.2785, allocations: 3.377 MB / 452.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.279, allocations: 218.5 kB / 453 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.2792, allocations: 104.8 kB / 453.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.2792, allocations: 4 kB / 453.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2792, allocations: 30.56 kB / 453.2 MB, free: 236 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.2792, allocations: 0 / 453.2 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002167/0.2814, allocations: 1.071 MB / 454.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.2815, allocations: 85.34 kB / 454.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/0.2825, allocations: 0.731 MB / 455.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.2825, allocations: 33.7 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.2829, allocations: 0.4995 MB / 455.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.283, allocations: 107.1 kB / 455.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2832, allocations: 122.2 kB / 455.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.2835, allocations: 374.8 kB / 456.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2837, allocations: 129.2 kB / 456.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007473/0.2845, allocations: 418.2 kB / 456.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.2853, allocations: 0.5714 MB / 457.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2853, allocations: 4 kB / 457.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001212/0.2865, allocations: 0.6154 MB / 457.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2866, allocations: 8 kB / 457.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.2866, allocations: 12 kB / 457.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.2868, allocations: 32.84 kB / 458 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.2872, allocations: 147.7 kB / 458.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2886, allocations: 1.394 MB / 459.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.2892, allocations: 40.09 kB / 459.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.2892, allocations: 35.98 kB / 459.6 MB, free: 9.285 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.0003643/0.2896, allocations: 229.6 kB / 459.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.2897, allocations: 75.53 kB / 459.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.2904, allocations: 321.4 kB / 460.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2904, allocations: 4 kB / 460.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2904, allocations: 0 / 460.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2904, allocations: 0 / 460.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.2921, allocations: 1.101 MB / 461.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2922, allocations: 4 kB / 461.3 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.2924, allocations: 59.91 kB / 461.4 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-05/0.2925, allocations: 21.06 kB / 461.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2925, allocations: 8 kB / 461.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.2936, allocations: 1.371 MB / 462.8 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2936, allocations: 7.969 kB / 462.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.2946, allocations: 0.5531 MB / 463.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.2949, allocations: 172.6 kB / 463.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.2949, allocations: 8 kB / 463.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.2953, allocations: 27.98 kB / 463.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2954, allocations: 27.84 kB / 463.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2954, allocations: 8 kB / 463.6 MB, free: 5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.2961, allocations: 0.5029 MB / 464.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2961, allocations: 0 / 464.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000693/0.2968, allocations: 160 kB / 464.2 MB, free: 4.344 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.0002678/0.2971, allocations: 135.1 kB / 464.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009498/0.298, allocations: 457 kB / 464.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.298, allocations: 0 / 464.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.2984, allocations: 231.3 kB / 465 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/0.2993, allocations: 196.6 kB / 465.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.3019, allocations: 1.47 MB / 466.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.3026, allocations: 0.9411 MB / 467.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3027, allocations: 51.44 kB / 467.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3027, allocations: 0 / 467.7 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Templates: time 0.01902/0.3217, allocations: 13.56 MB / 481.2 MB, free: 3.238 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 -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