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.001038/0.001038, allocations: 110.9 kB / 17.75 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.001058/0.001058, allocations: 186.6 kB / 18.68 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 43.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2184, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008616/0.2271, allocations: 7.125 MB / 408.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.2325, allocations: 2.352 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006672/0.2332, allocations: 19.94 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.2352, allocations: 0.5126 MB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.2365, allocations: 412.9 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.2372, allocations: 203.8 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.2393, allocations: 1.209 MB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.2404, allocations: 0.4959 MB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.2413, allocations: 466.1 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.2422, allocations: 0.49 MB / 414.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.2424, allocations: 112 kB / 414.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.2429, allocations: 159.9 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.2431, allocations: 227.2 kB / 415.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.2439, allocations: 0.5443 MB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2459, allocations: 1.425 MB / 417.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2459, allocations: 7.938 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2459, allocations: 4 kB / 417.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.2459, allocations: 0 / 417.2 MB, free: 9.031 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.002912/0.2489, allocations: 1.25 MB / 418.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2489, allocations: 15.88 kB / 418.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.2497, allocations: 135.7 kB / 418.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.2512, allocations: 0.6494 MB / 419.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.2513, allocations: 58.38 kB / 419.3 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.2515, allocations: 84.36 kB / 419.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.2536, allocations: 0.7754 MB / 420.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.2537, allocations: 11.89 kB / 420.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.2538, allocations: 32 kB / 420.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.2538, allocations: 23.98 kB / 420.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2556, allocations: 0.5153 MB / 420.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006313/0.2619, allocations: 3.36 MB / 424.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.2627, allocations: 230.6 kB / 424.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.2631, allocations: 120.7 kB / 424.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2632, allocations: 0 / 424.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2632, allocations: 38.55 kB / 424.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.2632, allocations: 4 kB / 424.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.003074/0.2663, allocations: 1.056 MB / 425.5 MB, free: 264 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.2664, allocations: 81.34 kB / 425.6 MB, free: 164 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.2679, allocations: 0.7387 MB / 426.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.268, allocations: 29.7 kB / 426.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/0.2685, allocations: 498.2 kB / 426.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2687, allocations: 102.5 kB / 426.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.2689, allocations: 118.2 kB / 427.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.2692, allocations: 378.8 kB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.2696, allocations: 121.2 kB / 427.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.2704, allocations: 426.1 kB / 428 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2717, allocations: 0.5753 MB / 428.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.2717, allocations: 4 kB / 428.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001772/0.2735, allocations: 0.611 MB / 429.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.2735, allocations: 8 kB / 429.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2736, allocations: 12 kB / 429.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.2738, allocations: 32.8 kB / 429.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.2745, allocations: 139.7 kB / 429.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.276, allocations: 1.39 MB / 430.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.2768, allocations: 36.05 kB / 430.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.2769, allocations: 32 kB / 430.8 MB, free: 10.49 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.0004288/0.2773, allocations: 233.5 kB / 431 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.2775, allocations: 75.06 kB / 431.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.2785, allocations: 325.6 kB / 431.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2785, allocations: 0 / 431.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2786, allocations: 48 / 431.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.2789, allocations: 180.1 kB / 431.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.279, allocations: 8 kB / 431.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.2796, allocations: 15.98 kB / 431.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.2797, allocations: 15.97 kB / 431.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001254/0.2809, allocations: 361.6 kB / 432 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001365/0.2823, allocations: 0.5807 MB / 432.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003572/0.2827, allocations: 100.2 kB / 432.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.2838, allocations: 0.4991 MB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2838, allocations: 0 / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.2856, allocations: 494.3 kB / 433.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of SimCode: time 0.004187/0.2898, allocations: 1.954 MB / 435.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of Templates: time 0.01737/0.3071, allocations: 8.827 MB / 444.4 MB, free: 12.83 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