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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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=20000,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=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 52.13 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009054/0.2704, allocations: 7.217 MB / 428.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.275, allocations: 2.364 MB / 430.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000824/0.2758, allocations: 16 kB / 430.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2773, allocations: 0.5166 MB / 431 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2786, allocations: 405 kB / 431.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.2791, allocations: 211.7 kB / 431.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.2806, allocations: 1.199 MB / 432.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.2812, allocations: 336 kB / 433.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.2819, allocations: 470.1 kB / 433.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.2825, allocations: 0.4939 MB / 434.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.2826, allocations: 112 kB / 434.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.2829, allocations: 152 kB / 434.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.2831, allocations: 235.1 kB / 434.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.2836, allocations: 0.5404 MB / 435.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.2854, allocations: 1.436 MB / 436.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2854, allocations: 0 / 436.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2854, allocations: 0 / 436.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2854, allocations: 0 / 436.5 MB, free: 15.35 MB / 350.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.002161/0.2875, allocations: 1.288 MB / 437.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2876, allocations: 11.89 kB / 437.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.2881, allocations: 148.2 kB / 438 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2891, allocations: 0.6499 MB / 438.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.2892, allocations: 62.38 kB / 438.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.2893, allocations: 88.31 kB / 438.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2907, allocations: 0.7754 MB / 439.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.2907, allocations: 7.984 kB / 439.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.2908, allocations: 32 kB / 439.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.2908, allocations: 20 kB / 439.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2919, allocations: 0.5153 MB / 440.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.2965, allocations: 3.377 MB / 443.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.297, allocations: 222.5 kB / 443.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2972, allocations: 100.8 kB / 443.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.2973, allocations: 7.938 kB / 443.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2973, allocations: 38.55 kB / 443.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.2973, allocations: 0 / 443.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002235/0.2995, allocations: 1.054 MB / 444.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.2996, allocations: 85.33 kB / 445 MB, free: 6.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.3006, allocations: 0.7427 MB / 445.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3006, allocations: 33.7 kB / 445.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.301, allocations: 0.5034 MB / 446.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.3011, allocations: 103.1 kB / 446.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3012, allocations: 114.2 kB / 446.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3014, allocations: 378.8 kB / 446.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3017, allocations: 125.2 kB / 447 MB, free: 4.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.3022, allocations: 426.2 kB / 447.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.303, allocations: 0.5716 MB / 448 MB, free: 3.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3031, allocations: 4 kB / 448 MB, free: 3.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001164/0.3042, allocations: 0.6192 MB / 448.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3042, allocations: 16 kB / 448.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.3043, allocations: 12 kB / 448.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.3044, allocations: 28.86 kB / 448.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.3049, allocations: 143.7 kB / 448.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.306, allocations: 1.39 MB / 450.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.3065, allocations: 27.98 kB / 450.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3065, allocations: 36.12 kB / 450.2 MB, free: 0.7344 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.0003343/0.3068, allocations: 233.6 kB / 450.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.307, allocations: 79.42 kB / 450.5 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.3076, allocations: 321.6 kB / 450.9 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3076, allocations: 8 kB / 450.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3076, allocations: 0 / 450.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3076, allocations: 3.984 kB / 450.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3093, allocations: 1.102 MB / 452 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3093, allocations: 4 kB / 452 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3096, allocations: 59.91 kB / 452 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-05/0.3097, allocations: 24.84 kB / 452.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3097, allocations: 4 kB / 452.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.3107, allocations: 1.375 MB / 453.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/0.3107, allocations: 8.094 kB / 453.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.3116, allocations: 0.5535 MB / 454 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.3119, allocations: 172.6 kB / 454.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.3119, allocations: 11.98 kB / 454.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.3123, allocations: 19.98 kB / 454.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.3123, allocations: 31.84 kB / 454.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3124, allocations: 8 kB / 454.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.313, allocations: 0.503 MB / 454.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 454.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000664/0.3137, allocations: 160 kB / 454.9 MB, free: 11.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.000203/0.3139, allocations: 123.1 kB / 455 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.3148, allocations: 446.8 kB / 455.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.3148, allocations: 5.875 kB / 455.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.3152, allocations: 232.8 kB / 455.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.3161, allocations: 186.8 kB / 455.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3184, allocations: 1.445 MB / 457.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.319, allocations: 0.9411 MB / 458.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.3193, allocations: 86.03 kB / 458.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3194, allocations: 51.42 kB / 458.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3194, allocations: 3.938 kB / 458.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of Templates: time 0.01791/0.3373, allocations: 8.512 MB / 466.9 MB, free: 15.75 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.711914938874543]