Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2784, allocations: 53.41 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009388/0.2878, allocations: 7.22 MB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2926, allocations: 2.399 MB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.2935, allocations: 19.94 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.295, allocations: 0.5084 MB / 442.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2963, allocations: 421 kB / 443 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.2968, allocations: 203.7 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.2984, allocations: 1.206 MB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.2989, allocations: 340.5 kB / 444.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.2997, allocations: 482.1 kB / 445.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.3004, allocations: 497.8 kB / 445.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3005, allocations: 116 kB / 445.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.3008, allocations: 156 kB / 446 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.301, allocations: 223.2 kB / 446.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.3016, allocations: 0.5482 MB / 446.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.3033, allocations: 1.436 MB / 448.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3033, allocations: 0 / 448.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3033, allocations: 4 kB / 448.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.3033, allocations: 0 / 448.2 MB, free: 6.984 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.002176/0.3055, allocations: 1.205 MB / 449.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3055, allocations: 8.031 kB / 449.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005128/0.306, allocations: 152.2 kB / 449.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3071, allocations: 0.5804 MB / 450.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.3072, allocations: 58.38 kB / 450.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3073, allocations: 88.31 kB / 450.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3087, allocations: 0.7793 MB / 451 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.3087, allocations: 4 kB / 451 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.3088, allocations: 32 kB / 451.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3088, allocations: 20 kB / 451.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3099, allocations: 0.5153 MB / 451.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.3145, allocations: 3.278 MB / 454.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.315, allocations: 217.3 kB / 455.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.3153, allocations: 112.8 kB / 455.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3153, allocations: 3.938 kB / 455.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3154, allocations: 38.56 kB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.3154, allocations: 0 / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002202/0.3176, allocations: 0.9142 MB / 456.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3176, allocations: 81.34 kB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3187, allocations: 0.7272 MB / 457 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3187, allocations: 33.7 kB / 457 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.3191, allocations: 0.5033 MB / 457.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.3192, allocations: 111.1 kB / 457.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3193, allocations: 110.3 kB / 457.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3195, allocations: 382.8 kB / 458.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.3198, allocations: 129.2 kB / 458.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.3204, allocations: 418.2 kB / 458.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/0.3212, allocations: 0.5752 MB / 459.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.3212, allocations: 4 kB / 459.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001188/0.3224, allocations: 0.6231 MB / 459.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3224, allocations: 8 kB / 459.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3224, allocations: 12 kB / 459.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.3226, allocations: 28.84 kB / 459.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.3231, allocations: 144.1 kB / 460 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.3243, allocations: 1.283 MB / 461.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.3248, allocations: 39.94 kB / 461.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.3248, allocations: 28 kB / 461.4 MB, free: 8.984 MB / 366.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.0003663/0.3252, allocations: 237.5 kB / 461.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3253, allocations: 71.53 kB / 461.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.326, allocations: 329.5 kB / 462 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.326, allocations: 4 kB / 462 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.326, allocations: 7.984 kB / 462 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.326, allocations: 0 / 462 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3278, allocations: 1.066 MB / 463.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3278, allocations: 4 kB / 463.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3281, allocations: 59.91 kB / 463.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.763e-05/0.3282, allocations: 29.06 kB / 463.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3282, allocations: 8 kB / 463.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.3293, allocations: 1.26 MB / 464.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3293, allocations: 4.031 kB / 464.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.3302, allocations: 0.5531 MB / 465 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3305, allocations: 103.5 kB / 465.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.3306, allocations: 8 kB / 465.1 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.3309, allocations: 15.98 kB / 465.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.331, allocations: 31.83 kB / 465.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.331, allocations: 8 kB / 465.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007623/0.3317, allocations: 0.5029 MB / 465.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3317, allocations: 0 / 465.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007617/0.3325, allocations: 172 kB / 465.8 MB, free: 4.277 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.0002251/0.3327, allocations: 119.1 kB / 465.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3337, allocations: 457.2 kB / 466.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3337, allocations: 192 / 466.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.3341, allocations: 242.4 kB / 466.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.3351, allocations: 192.2 kB / 466.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.3377, allocations: 1.484 MB / 468.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.3383, allocations: 0.9372 MB / 469.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3384, allocations: 51.44 kB / 469.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3384, allocations: 3.938 kB / 469.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Templates: time 0.01962/0.358, allocations: 13.55 MB / 482.8 MB, free: 3.184 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.562287906883284]