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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=40000,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=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 109.3 kB / 17.69 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.0012, allocations: 188.1 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009952/0.0009953, allocations: 39.94 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2438, allocations: 49.44 MB / 401.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007657/0.2515, allocations: 7.135 MB / 408.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.2549, allocations: 2.356 MB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.2553, allocations: 19.94 kB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.2565, allocations: 493 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.2572, allocations: 381 kB / 411.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.2576, allocations: 211.7 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2586, allocations: 1.197 MB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.2593, allocations: 0.5037 MB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.2597, allocations: 462.1 kB / 414.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.2602, allocations: 493.8 kB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2603, allocations: 116 kB / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.2606, allocations: 152 kB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2608, allocations: 235.1 kB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.2612, allocations: 0.5404 MB / 415.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2624, allocations: 1.429 MB / 417 MB, free: 9.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2624, allocations: 4 kB / 417 MB, free: 9.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2625, allocations: 4 kB / 417 MB, free: 9.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2625, allocations: 0 / 417 MB, free: 9.277 MB / 334.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.001804/0.2643, allocations: 1.247 MB / 418.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2643, allocations: 15.89 kB / 418.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.2648, allocations: 135.7 kB / 418.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.2657, allocations: 0.6494 MB / 419.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.2658, allocations: 66.36 kB / 419.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2659, allocations: 76.38 kB / 419.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2671, allocations: 0.7832 MB / 420 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.2672, allocations: 7.906 kB / 420 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.2672, allocations: 35.94 kB / 420 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2672, allocations: 20 kB / 420.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2683, allocations: 0.5153 MB / 420.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.272, allocations: 3.372 MB / 423.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.2725, allocations: 226.5 kB / 424.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.2727, allocations: 108.8 kB / 424.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2728, allocations: 11.92 kB / 424.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2728, allocations: 38.56 kB / 424.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2728, allocations: 0 / 424.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002009/0.2748, allocations: 1.056 MB / 425.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.2749, allocations: 81.28 kB / 425.5 MB, free: 412 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.2758, allocations: 0.7426 MB / 426.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.2759, allocations: 25.7 kB / 426.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.2762, allocations: 0.4904 MB / 426.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.2763, allocations: 102.6 kB / 426.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2764, allocations: 114.2 kB / 426.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2766, allocations: 378.8 kB / 427.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.2769, allocations: 125.2 kB / 427.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.2774, allocations: 418.2 kB / 427.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.2781, allocations: 0.5792 MB / 428.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2781, allocations: 0 / 428.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001029/0.2792, allocations: 0.6072 MB / 429 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2792, allocations: 15.94 kB / 429 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2792, allocations: 8 kB / 429 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.2794, allocations: 32.84 kB / 429.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.2798, allocations: 140.2 kB / 429.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.2808, allocations: 1.39 MB / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.2813, allocations: 35.98 kB / 430.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.2813, allocations: 28 kB / 430.7 MB, free: 10.74 MB / 350.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.0002949/0.2816, allocations: 237.5 kB / 430.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.2817, allocations: 75.06 kB / 431 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006317/0.2823, allocations: 329.6 kB / 431.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2824, allocations: 4 kB / 431.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2824, allocations: 0 / 431.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2824, allocations: 3.984 kB / 431.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2839, allocations: 1.096 MB / 432.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2839, allocations: 0 / 432.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.2842, allocations: 60.12 kB / 432.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.2843, allocations: 24.84 kB / 432.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2843, allocations: 8 kB / 432.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008811/0.2852, allocations: 1.375 MB / 433.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2852, allocations: 0 / 433.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.286, allocations: 0.5571 MB / 434.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.2862, allocations: 176.3 kB / 434.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.2863, allocations: 8 kB / 434.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.2866, allocations: 15.98 kB / 434.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.2867, allocations: 27.91 kB / 434.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2867, allocations: 8 kB / 434.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.2874, allocations: 0.5068 MB / 435.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2874, allocations: 4 kB / 435.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.288, allocations: 156 kB / 435.3 MB, free: 5.785 MB / 350.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.0002011/0.2882, allocations: 131.1 kB / 435.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008469/0.2891, allocations: 472.5 kB / 435.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2891, allocations: 4.062 kB / 435.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.2894, allocations: 240.3 kB / 436.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.2903, allocations: 183.2 kB / 436.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.2925, allocations: 1.441 MB / 437.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.293, allocations: 0.9411 MB / 438.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2932, allocations: 51.44 kB / 438.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2932, allocations: 0 / 438.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Templates: time 0.01629/0.3095, allocations: 13.38 MB / 452.1 MB, free: 4.887 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) 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) Reference file matches