Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.001119/0.001119, allocations: 182.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 51.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07226/0.07348, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.1575/0.231, allocations: 11.68 MB / 387.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.2353, allocations: 3.221 MB / 390.7 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.2359, allocations: 39.84 kB / 390.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.2372, allocations: 0.6463 MB / 391.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.2383, allocations: 0.6712 MB / 392.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.239, allocations: 395.2 kB / 392.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.2408, allocations: 2.248 MB / 394.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2419, allocations: 1 MB / 395.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008432/0.2427, allocations: 0.8487 MB / 396.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008369/0.2436, allocations: 0.9054 MB / 397.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.2438, allocations: 217.3 kB / 397.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.2443, allocations: 253.1 kB / 397.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.2445, allocations: 439.8 kB / 398.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007229/0.2453, allocations: 1.017 MB / 399.4 MB, free: 72 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.2478, allocations: 2.679 MB / 402.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2479, allocations: 1.312 kB / 402.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2479, allocations: 1.812 kB / 402.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.2479, allocations: 4 kB / 402.1 MB, free: 15.05 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003301/0.2512, allocations: 2.052 MB / 404.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2512, allocations: 13.05 kB / 404.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007818/0.252, allocations: 257.9 kB / 404.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.2536, allocations: 1.047 MB / 405.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.2537, allocations: 113.3 kB / 405.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2539, allocations: 165.5 kB / 405.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.2564, allocations: 1.486 MB / 407.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.2565, allocations: 3.875 kB / 407.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.2566, allocations: 66.66 kB / 407.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.2567, allocations: 38.5 kB / 407.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2585, allocations: 0.9717 MB / 408.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007394/0.2659, allocations: 6.526 MB / 414.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.2668, allocations: 402.4 kB / 415.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.2672, allocations: 221.4 kB / 415.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.2673, allocations: 6.094 kB / 415.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.2678, allocations: 268.8 kB / 415.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/0.2678, allocations: 0 / 415.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.002971/0.2707, allocations: 1.766 MB / 417.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2708, allocations: 159.9 kB / 417.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.2724, allocations: 1.275 MB / 418.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2724, allocations: 37.45 kB / 418.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/0.273, allocations: 0.872 MB / 419.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2732, allocations: 205.4 kB / 420 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.2735, allocations: 225.2 kB / 420.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2736, allocations: 355.5 kB / 420.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.274, allocations: 224.9 kB / 420.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/0.2749, allocations: 0.813 MB / 421.6 MB, free: 436 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2762, allocations: 1.11 MB / 422.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.2762, allocations: 6.375 kB / 422.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001892/0.2781, allocations: 1.17 MB / 423.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.2782, allocations: 41.69 kB / 423.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.2782, allocations: 20 kB / 423.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.2784, allocations: 74.33 kB / 424 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.2792, allocations: 263.5 kB / 424.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.281, allocations: 2.788 MB / 427 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.2819, allocations: 63.89 kB / 427.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.282, allocations: 68 kB / 427.2 MB, free: 10.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004571/0.2824, allocations: 353.3 kB / 427.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2826, allocations: 130.4 kB / 427.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.2836, allocations: 0.5567 MB / 428.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2836, allocations: 0 / 428.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2837, allocations: 3.984 kB / 428.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.284, allocations: 247.4 kB / 428.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.2842, allocations: 12 kB / 428.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.2847, allocations: 27.97 kB / 428.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.2848, allocations: 40.45 kB / 428.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001251/0.286, allocations: 0.5705 MB / 429.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001235/0.2873, allocations: 0.8699 MB / 430 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003188/0.2876, allocations: 180.4 kB / 430.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.2887, allocations: 0.8461 MB / 431 MB, free: 6.852 MB / 350.1 MB Notification: Performance of Backend: time 2.114e-06/0.2887, allocations: 96 / 431 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.2904, allocations: 0.8985 MB / 431.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of SimCode: time 0.004192/0.2946, allocations: 3.11 MB / 435 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Templates: time 0.02578/0.3204, allocations: 16.01 MB / 451 MB, free: 2.715 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStationary/DCPM_QuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches