Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 110.5 kB / 17.75 MB, free: 5.309 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.001709/0.001709, allocations: 179 kB / 18.67 MB, free: 4.395 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 43.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2439, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008477/0.2524, allocations: 8.079 MB / 409.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.2566, allocations: 2.637 MB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.2574, allocations: 27.94 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.259, allocations: 0.5715 MB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.2603, allocations: 0.4886 MB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.2609, allocations: 255.7 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.2625, allocations: 1.471 MB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.2633, allocations: 0.5806 MB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.2641, allocations: 0.5525 MB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.2648, allocations: 0.6067 MB / 416.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.2651, allocations: 136 kB / 416.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.2655, allocations: 176 kB / 417 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.2657, allocations: 283 kB / 417.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007037/0.2664, allocations: 0.6648 MB / 417.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.268, allocations: 1.725 MB / 419.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.268, allocations: 0 / 419.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.268, allocations: 0 / 419.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.954e-05/0.2681, allocations: 0 / 419.6 MB, free: 6.531 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002637/0.2707, allocations: 1.441 MB / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2708, allocations: 11.89 kB / 421.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.2715, allocations: 195.2 kB / 421.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.2727, allocations: 0.7378 MB / 422 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.2728, allocations: 77.98 kB / 422.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.273, allocations: 99.91 kB / 422.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.2746, allocations: 0.9347 MB / 423.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.2747, allocations: 7.984 kB / 423.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/0.2747, allocations: 40 kB / 423.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.2748, allocations: 24 kB / 423.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.276, allocations: 0.6325 MB / 423.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/0.281, allocations: 3.887 MB / 427.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.2817, allocations: 445.2 kB / 428.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.2823, allocations: 276.4 kB / 428.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.2823, allocations: 4.328 kB / 428.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2823, allocations: 38.89 kB / 428.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.2824, allocations: 0 / 428.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002621/0.285, allocations: 1.398 MB / 429.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.285, allocations: 89.09 kB / 430 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.2861, allocations: 0.8252 MB / 430.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2862, allocations: 29.7 kB / 430.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.2865, allocations: 0.5565 MB / 431.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2867, allocations: 165.7 kB / 431.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.2869, allocations: 130.6 kB / 431.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.287, allocations: 330 kB / 432 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.2873, allocations: 169.9 kB / 432.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.2878, allocations: 456 kB / 432.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.2887, allocations: 0.6663 MB / 433.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2887, allocations: 4 kB / 433.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001278/0.29, allocations: 0.7589 MB / 434 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.29, allocations: 12 kB / 434 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.2901, allocations: 8 kB / 434 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.2903, allocations: 85.92 kB / 434.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.2908, allocations: 159.6 kB / 434.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.2933, allocations: 3.146 MB / 437.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.2939, allocations: 36.05 kB / 437.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.294, allocations: 32 kB / 437.5 MB, free: 3.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004126/0.2944, allocations: 266 kB / 437.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.2946, allocations: 86.97 kB / 437.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009749/0.2955, allocations: 499 kB / 438.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2956, allocations: 0 / 438.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2956, allocations: 3.984 kB / 438.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.2959, allocations: 192 kB / 438.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.296, allocations: 12.12 kB / 438.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.2964, allocations: 27.98 kB / 438.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.2965, allocations: 35.94 kB / 438.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001147/0.2977, allocations: 0.5106 MB / 439.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001105/0.2988, allocations: 0.7221 MB / 439.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002897/0.2991, allocations: 156.2 kB / 440 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007991/0.2999, allocations: 0.5615 MB / 440.5 MB, free: 500 kB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2999, allocations: 0 / 440.5 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.3016, allocations: 0.6646 MB / 441.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of SimCode: time 0.003414/0.305, allocations: 2.268 MB / 443.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.02112/0.3261, allocations: 11.42 MB / 454.9 MB, free: 2.188 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches