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.001532/0.001532, allocations: 104 kB / 17.59 MB, free: 5.586 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.001815/0.001815, allocations: 187.6 kB / 18.51 MB, free: 4.664 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.352/1.352, allocations: 222.9 MB / 242.2 MB, free: 15.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 48.58 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08681, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008628/0.09548, allocations: 7.962 MB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.1, allocations: 2.599 MB / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.1009, allocations: 23.94 kB / 361.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.1025, allocations: 0.5442 MB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1039, allocations: 452.4 kB / 362.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.1044, allocations: 251.6 kB / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1058, allocations: 1.42 MB / 364 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.1066, allocations: 0.6001 MB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.1073, allocations: 0.533 MB / 365.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.1079, allocations: 0.5755 MB / 365.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1081, allocations: 136 kB / 365.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.1084, allocations: 176 kB / 366 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1086, allocations: 286.9 kB / 366.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.1092, allocations: 0.6454 MB / 366.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1108, allocations: 1.674 MB / 368.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1108, allocations: 4 kB / 368.6 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1108, allocations: 0 / 368.6 MB, free: 2.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.1108, allocations: 0 / 368.6 MB, free: 2.477 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.00235/0.1132, allocations: 1.432 MB / 370 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1132, allocations: 8.031 kB / 370 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.1138, allocations: 179.3 kB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1149, allocations: 0.7106 MB / 370.9 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1543/0.2692, allocations: 70.03 kB / 371 MB, free: 25.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.2695, allocations: 93.84 kB / 371.1 MB, free: 25.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.2713, allocations: 0.917 MB / 372 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.2713, allocations: 9.062 kB / 372 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.2714, allocations: 40.75 kB / 372 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2714, allocations: 23.86 kB / 372.1 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2726, allocations: 0.6207 MB / 372.7 MB, free: 25.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.2774, allocations: 3.919 MB / 376.6 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.2779, allocations: 350.7 kB / 376.9 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.2782, allocations: 149.3 kB / 377.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2783, allocations: 3.719 kB / 377.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2783, allocations: 44.88 kB / 377.1 MB, free: 22.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/0.2783, allocations: 0 / 377.1 MB, free: 22.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002114/0.2804, allocations: 1.184 MB / 378.3 MB, free: 21.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2805, allocations: 85.78 kB / 378.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.2815, allocations: 0.8276 MB / 379.2 MB, free: 21.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2815, allocations: 31.52 kB / 379.3 MB, free: 21.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.2818, allocations: 0.5661 MB / 379.8 MB, free: 20.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.2819, allocations: 131.4 kB / 380 MB, free: 20.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2821, allocations: 131.6 kB / 380.1 MB, free: 20.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.2821, allocations: 331.8 kB / 380.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2825, allocations: 148.3 kB / 380.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.2829, allocations: 456.9 kB / 381 MB, free: 19.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.2836, allocations: 0.6406 MB / 381.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2836, allocations: 2.844 kB / 381.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00109/0.2847, allocations: 0.6962 MB / 382.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2847, allocations: 9.219 kB / 382.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2848, allocations: 13.69 kB / 382.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.2849, allocations: 30.66 kB / 382.4 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.2854, allocations: 161 kB / 382.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007482/0.2862, allocations: 1.386 MB / 383.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.2867, allocations: 40.28 kB / 384 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.2868, allocations: 35.16 kB / 384 MB, free: 17.27 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.0002922/0.2871, allocations: 260.7 kB / 384.3 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2872, allocations: 82.72 kB / 384.4 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.2879, allocations: 375 kB / 384.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2879, allocations: 8.562 kB / 384.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2879, allocations: 0 / 384.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2879, allocations: 3.359 kB / 384.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2898, allocations: 1.259 MB / 386 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2898, allocations: 2.797 kB / 386 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.2901, allocations: 72.39 kB / 386.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/0.2902, allocations: 28.42 kB / 386.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2903, allocations: 11.95 kB / 386.1 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006481/0.2909, allocations: 1.366 MB / 387.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2909, allocations: 2.875 kB / 387.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.2919, allocations: 0.6352 MB / 388.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.2921, allocations: 187 kB / 388.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.2922, allocations: 13.56 kB / 388.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.2926, allocations: 23.05 kB / 388.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.2927, allocations: 33.38 kB / 388.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.2927, allocations: 17.3 kB / 388.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007374/0.2934, allocations: 0.5633 MB / 388.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2934, allocations: 0 / 388.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007915/0.2942, allocations: 188.3 kB / 389.1 MB, free: 13.83 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.0002076/0.2945, allocations: 119.6 kB / 389.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2955, allocations: 0.5241 MB / 389.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2955, allocations: 1.062 kB / 389.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.2959, allocations: 264.3 kB / 390 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.2969, allocations: 210.4 kB / 390.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.2994, allocations: 1.758 MB / 392 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.2998, allocations: 0.9899 MB / 393 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2999, allocations: 59.33 kB / 393 MB, free: 11.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3, allocations: 0 / 393 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01611/0.3161, allocations: 15.71 MB / 408.7 MB, free: 14.95 MB / 318.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 -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