Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 200.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002324, allocations: 15.98 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09828, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006863/0.1052, allocations: 6.412 MB / 364.5 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00416/0.1094, allocations: 2.515 MB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.1099, allocations: 23.94 kB / 367 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.1111, allocations: 457.8 kB / 367.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007971/0.1119, allocations: 470.6 kB / 367.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1122, allocations: 155.8 kB / 368.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.1134, allocations: 1.001 MB / 369.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005412/0.114, allocations: 431.2 kB / 369.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1143, allocations: 418.3 kB / 369.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.1148, allocations: 465.8 kB / 370.4 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.1149, allocations: 60 kB / 370.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.1151, allocations: 99.97 kB / 370.5 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1153, allocations: 175.2 kB / 370.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1154, allocations: 257.1 kB / 370.9 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2197/0.3351, allocations: 1.281 MB / 372.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3352, allocations: 1.219 kB / 372.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.3352, allocations: 0 / 372.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.532e-05/0.3353, allocations: 0 / 372.2 MB, free: 10.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002441/0.3377, allocations: 1.232 MB / 373.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3378, allocations: 9.062 kB / 373.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.3382, allocations: 158.9 kB / 373.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3393, allocations: 0.6842 MB / 374.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.3394, allocations: 79.36 kB / 374.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.3395, allocations: 96.69 kB / 374.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.3415, allocations: 0.9091 MB / 375.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.3416, allocations: 4.219 kB / 375.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.95e-05/0.3417, allocations: 43.61 kB / 375.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.3417, allocations: 23.84 kB / 375.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3431, allocations: 0.6348 MB / 376.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.3479, allocations: 3.885 MB / 380 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.3485, allocations: 359.5 kB / 380.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3485, allocations: 4.344 kB / 380.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3485, allocations: 37.3 kB / 380.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.3485, allocations: 0 / 380.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002367/0.3509, allocations: 1.223 MB / 381.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.351, allocations: 79.92 kB / 381.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.3522, allocations: 0.7611 MB / 382.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3522, allocations: 38.27 kB / 382.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.3527, allocations: 0.5629 MB / 383 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3528, allocations: 130.4 kB / 383.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.3528, allocations: 14 kB / 383.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.3529, allocations: 331.8 kB / 383.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3533, allocations: 150.2 kB / 383.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.3538, allocations: 462.2 kB / 384.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3543, allocations: 228 kB / 384.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3543, allocations: 3.125 kB / 384.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001216/0.3555, allocations: 0.701 MB / 385 MB, free: 5.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.3556, allocations: 10.38 kB / 385 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3556, allocations: 10.5 kB / 385 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.3558, allocations: 38.77 kB / 385.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.3563, allocations: 164.5 kB / 385.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.3571, allocations: 1.294 MB / 386.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.3577, allocations: 37.33 kB / 386.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.3577, allocations: 31.72 kB / 386.6 MB, free: 4.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.3581, allocations: 266.5 kB / 386.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3582, allocations: 86.98 kB / 387 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/0.359, allocations: 389.4 kB / 387.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.359, allocations: 7.531 kB / 387.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.359, allocations: 2.031 kB / 387.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.359, allocations: 2.016 kB / 387.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.361, allocations: 1.249 MB / 388.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.361, allocations: 2.25 kB / 388.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.3613, allocations: 74.86 kB / 388.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-05/0.3614, allocations: 21.8 kB / 388.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.3614, allocations: 18.55 kB / 388.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/0.362, allocations: 1.277 MB / 390 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3621, allocations: 2.688 kB / 390 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3632, allocations: 0.7282 MB / 390.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.3634, allocations: 178.2 kB / 390.9 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.3635, allocations: 8.188 kB / 390.9 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.3638, allocations: 34.27 kB / 390.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.3639, allocations: 26.41 kB / 391 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.364, allocations: 13.72 kB / 391 MB, free: 1.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007642/0.3647, allocations: 0.51 MB / 391.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3647, allocations: 4 kB / 391.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008568/0.3656, allocations: 192.1 kB / 391.7 MB, free: 1.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.3658, allocations: 117.6 kB / 391.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009895/0.3668, allocations: 0.5186 MB / 392.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3668, allocations: 0 / 392.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.3673, allocations: 269 kB / 392.6 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.3682, allocations: 197.2 kB / 392.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3708, allocations: 2.088 MB / 394.8 MB, free: 144 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.3716, allocations: 1.018 MB / 395.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000408/0.372, allocations: 102.3 kB / 396 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3721, allocations: 52.38 kB / 396 MB, free: 15.39 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3721, allocations: 0 / 396 MB, free: 15.39 MB / 318.1 MB Notification: Performance of Templates: time 0.01504/0.3871, allocations: 8.124 MB / 404.1 MB, free: 11.48 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches