Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001141/0.001141, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 53.22 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09151, allocations: 49.45 MB / 351.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00941/0.101, allocations: 7.969 MB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005058/0.1061, allocations: 2.598 MB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008758/0.107, allocations: 23.94 kB / 362.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.1085, allocations: 0.5403 MB / 362.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.11, allocations: 456.4 kB / 363.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.1106, allocations: 239.7 kB / 363.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1122, allocations: 1.44 MB / 364.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.1131, allocations: 0.6001 MB / 365.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.1138, allocations: 0.533 MB / 365.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.1145, allocations: 0.5833 MB / 366.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1146, allocations: 136 kB / 366.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.1149, allocations: 176 kB / 366.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.1152, allocations: 267 kB / 367 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.1159, allocations: 0.6532 MB / 367.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1176, allocations: 1.697 MB / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1176, allocations: 0 / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1176, allocations: 0 / 369.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.1177, allocations: 0 / 369.4 MB, free: 1.684 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.002395/0.1201, allocations: 1.429 MB / 370.8 MB, free: 204 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1201, allocations: 12.02 kB / 370.8 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.1207, allocations: 175.3 kB / 371 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1454/0.2661, allocations: 0.7167 MB / 371.7 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.238e-05/0.2662, allocations: 74.31 kB / 371.8 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.2664, allocations: 96.55 kB / 371.9 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.2684, allocations: 0.9271 MB / 372.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.2684, allocations: 3.906 kB / 372.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.2685, allocations: 42.78 kB / 372.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.2685, allocations: 24.19 kB / 372.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2699, allocations: 0.6246 MB / 373.5 MB, free: 24.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.2745, allocations: 3.872 MB / 377.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.275, allocations: 347.1 kB / 377.7 MB, free: 21.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.2753, allocations: 154.6 kB / 377.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2753, allocations: 2.438 kB / 377.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.2753, allocations: 39.98 kB / 377.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.2753, allocations: 1.094 kB / 377.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001923/0.2773, allocations: 1.179 MB / 379.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2773, allocations: 90.38 kB / 379.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/0.2783, allocations: 0.828 MB / 380 MB, free: 20.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.2784, allocations: 33.66 kB / 380 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.2787, allocations: 0.5671 MB / 380.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.2787, allocations: 131.2 kB / 380.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2789, allocations: 127.6 kB / 380.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.279, allocations: 336.8 kB / 381.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2793, allocations: 147.1 kB / 381.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.2796, allocations: 459 kB / 381.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.2803, allocations: 0.6392 MB / 382.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2803, allocations: 3.969 kB / 382.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001026/0.2814, allocations: 0.6881 MB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2814, allocations: 11.45 kB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2814, allocations: 8.969 kB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.2815, allocations: 35.05 kB / 383.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.282, allocations: 160.3 kB / 383.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.2827, allocations: 1.393 MB / 384.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.2832, allocations: 29.7 kB / 384.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.2833, allocations: 36.56 kB / 384.8 MB, free: 16.77 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 (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.000268/0.2835, allocations: 264.7 kB / 385 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2836, allocations: 91.61 kB / 385.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.2843, allocations: 371.7 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2843, allocations: 4.219 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2844, allocations: 0.6094 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2844, allocations: 2.406 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.2861, allocations: 1.262 MB / 386.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2861, allocations: 1.406 kB / 386.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.2864, allocations: 77.98 kB / 386.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.64e-05/0.2865, allocations: 22.97 kB / 386.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.2865, allocations: 8.906 kB / 386.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005856/0.2871, allocations: 1.373 MB / 388.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2871, allocations: 2.781 kB / 388.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.288, allocations: 0.6289 MB / 388.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.2882, allocations: 191.6 kB / 389.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2883, allocations: 12.25 kB / 389.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.2887, allocations: 26.23 kB / 389.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.2888, allocations: 28.92 kB / 389.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.2888, allocations: 17.98 kB / 389.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.2895, allocations: 0.5586 MB / 389.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2895, allocations: 1.219 kB / 389.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006753/0.2901, allocations: 188.9 kB / 389.9 MB, free: 13.33 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 (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.0001692/0.2903, allocations: 125.7 kB / 390 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000828/0.2912, allocations: 0.51 MB / 390.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2912, allocations: 1.188 kB / 390.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.2915, allocations: 269.7 kB / 390.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.2925, allocations: 214.3 kB / 391 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.2947, allocations: 1.686 MB / 392.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2951, allocations: 0.9919 MB / 393.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.2955, allocations: 101.6 kB / 393.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2956, allocations: 52.59 kB / 393.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2956, allocations: 1 kB / 393.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01481/0.3104, allocations: 9.492 MB / 403.3 MB, free: 4.406 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches