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.00158/0.00158, allocations: 100 kB / 21.18 MB, free: 0.6484 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.00188/0.00188, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 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.62/1.62, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.001614/0.001614, allocations: 43.94 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2448, allocations: 52.19 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009105/0.2539, allocations: 6.348 MB / 430.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.258, allocations: 2.177 MB / 432.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.2587, allocations: 23.94 kB / 432.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.26, allocations: 473.1 kB / 432.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008937/0.2609, allocations: 409 kB / 433.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.2613, allocations: 207.8 kB / 433.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.2625, allocations: 1.206 MB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.2631, allocations: 316.5 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.2637, allocations: 482.1 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.2642, allocations: 425.8 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.2643, allocations: 116 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.2646, allocations: 152 kB / 436.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2648, allocations: 227.1 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.2653, allocations: 454 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.2669, allocations: 1.451 MB / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2669, allocations: 0 / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2669, allocations: 0 / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.2669, allocations: 4 kB / 438.2 MB, free: 4 kB / 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.002118/0.269, allocations: 1.205 MB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.269, allocations: 8.031 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.2695, allocations: 148.2 kB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.2707, allocations: 0.5766 MB / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.2707, allocations: 66.31 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.2708, allocations: 80.31 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.2722, allocations: 0.8295 MB / 441.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.2723, allocations: 11.92 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.2723, allocations: 28 kB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2724, allocations: 23.94 kB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2734, allocations: 0.5192 MB / 441.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.2775, allocations: 2.928 MB / 444.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.278, allocations: 215.7 kB / 444.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.2783, allocations: 104.8 kB / 445 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.2783, allocations: 8 kB / 445 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2783, allocations: 34.55 kB / 445 MB, free: 8.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.953e-06/0.2783, allocations: 0 / 445 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002067/0.2804, allocations: 0.9057 MB / 445.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2804, allocations: 81.34 kB / 446 MB, free: 7.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.2813, allocations: 0.6836 MB / 446.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2814, allocations: 29.7 kB / 446.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.2818, allocations: 0.5071 MB / 447.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.2819, allocations: 111.1 kB / 447.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.282, allocations: 114.2 kB / 447.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2822, allocations: 370.8 kB / 447.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.2825, allocations: 129.2 kB / 447.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.283, allocations: 439.9 kB / 448.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.2839, allocations: 0.5794 MB / 448.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2839, allocations: 4 kB / 448.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001099/0.285, allocations: 0.6036 MB / 449.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.285, allocations: 12.19 kB / 449.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.285, allocations: 8 kB / 449.5 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.2852, allocations: 36.84 kB / 449.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.2856, allocations: 139.7 kB / 449.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.2868, allocations: 1.265 MB / 451 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.2872, allocations: 32.14 kB / 451 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.2872, allocations: 31.94 kB / 451 MB, free: 2.395 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.0003332/0.2876, allocations: 237.6 kB / 451.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2877, allocations: 71.53 kB / 451.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.2883, allocations: 317.1 kB / 451.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2883, allocations: 11.98 kB / 451.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2884, allocations: 3.938 kB / 451.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2884, allocations: 0 / 451.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.2899, allocations: 0.9067 MB / 452.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2899, allocations: 224 / 452.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.2902, allocations: 63.91 kB / 452.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/0.2902, allocations: 20.84 kB / 452.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.2903, allocations: 8 kB / 452.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009929/0.2913, allocations: 1.241 MB / 453.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2913, allocations: 4.094 kB / 453.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.2922, allocations: 0.5531 MB / 454.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.2924, allocations: 91.52 kB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.2925, allocations: 8 kB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.2928, allocations: 19.97 kB / 454.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.2928, allocations: 31.91 kB / 454.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2929, allocations: 12 kB / 454.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.2935, allocations: 459 kB / 455.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2935, allocations: 0 / 455.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.2942, allocations: 160 kB / 455.2 MB, free: 13.97 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.0001911/0.2944, allocations: 115.3 kB / 455.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.2953, allocations: 460.1 kB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2953, allocations: 0 / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.2957, allocations: 233.3 kB / 456 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/0.2966, allocations: 170.4 kB / 456.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2991, allocations: 1.476 MB / 457.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.2995, allocations: 352.5 kB / 458 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2996, allocations: 47.44 kB / 458.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2996, allocations: 0 / 458.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01972/0.3193, allocations: 13.57 MB / 471.6 MB, free: 13.51 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.613314928952605]