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.001644/0.001644, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.002182/0.002182, allocations: 191.9 kB / 24.47 MB, free: 4.152 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.467/1.467, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001554/0.001554, allocations: 47.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2346, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009003/0.2436, allocations: 7.213 MB / 431.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.2475, allocations: 2.36 MB / 433.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.248, allocations: 23.88 kB / 433.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2492, allocations: 0.5126 MB / 434 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008154/0.25, allocations: 413 kB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.2504, allocations: 203.7 kB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2517, allocations: 1.206 MB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.2523, allocations: 338.1 kB / 436.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.2529, allocations: 478.1 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.2535, allocations: 497.8 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.2536, allocations: 120 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.2539, allocations: 148 kB / 437.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2541, allocations: 235.1 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.2546, allocations: 0.5482 MB / 438.1 MB, free: 352 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2562, allocations: 1.432 MB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2562, allocations: 0 / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2562, allocations: 0 / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2562, allocations: 0 / 439.6 MB, free: 14.91 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.00202/0.2582, allocations: 1.209 MB / 440.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2582, allocations: 8.031 kB / 440.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.2587, allocations: 144.2 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2598, allocations: 0.5843 MB / 441.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.2598, allocations: 62.38 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2599, allocations: 80.33 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2612, allocations: 0.7871 MB / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.2613, allocations: 0 / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.2613, allocations: 32 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.2614, allocations: 24 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2624, allocations: 0.5231 MB / 443 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.2667, allocations: 3.274 MB / 446.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.2672, allocations: 225.9 kB / 446.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.2674, allocations: 108.8 kB / 446.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2674, allocations: 4 kB / 446.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2675, allocations: 38.56 kB / 446.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.2675, allocations: 3.938 kB / 446.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001967/0.2694, allocations: 0.9011 MB / 447.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.2695, allocations: 85.33 kB / 447.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.2705, allocations: 0.7349 MB / 448.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.2705, allocations: 33.7 kB / 448.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.2709, allocations: 0.5073 MB / 448.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.271, allocations: 103.1 kB / 449 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.2711, allocations: 114.2 kB / 449.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2713, allocations: 382.8 kB / 449.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.2716, allocations: 117.2 kB / 449.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.2721, allocations: 426.2 kB / 450 MB, free: 3.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.2729, allocations: 0.5678 MB / 450.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2729, allocations: 4 kB / 450.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001065/0.274, allocations: 0.6153 MB / 451.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.274, allocations: 8 kB / 451.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.274, allocations: 12.09 kB / 451.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.2742, allocations: 40.78 kB / 451.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.2746, allocations: 131.8 kB / 451.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2757, allocations: 1.288 MB / 452.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.2762, allocations: 27.98 kB / 452.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.2762, allocations: 32 kB / 452.7 MB, free: 0.918 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.0003078/0.2765, allocations: 245.7 kB / 453 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2766, allocations: 79.47 kB / 453.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.2773, allocations: 321.7 kB / 453.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2773, allocations: 4 kB / 453.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2773, allocations: 0 / 453.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2773, allocations: 7.984 kB / 453.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.279, allocations: 1.072 MB / 454.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.279, allocations: 0 / 454.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.2792, allocations: 59.95 kB / 454.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.2793, allocations: 24.73 kB / 454.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2793, allocations: 8 kB / 454.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.2803, allocations: 1.268 MB / 455.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2803, allocations: 4.031 kB / 455.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.2813, allocations: 0.5609 MB / 456.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.2815, allocations: 103.5 kB / 456.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.2816, allocations: 4 kB / 456.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.2819, allocations: 19.98 kB / 456.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2819, allocations: 31.89 kB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.282, allocations: 12 kB / 456.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006913/0.2827, allocations: 0.4991 MB / 457 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2827, allocations: 0 / 457 MB, free: 12.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006378/0.2833, allocations: 167.9 kB / 457.2 MB, free: 12.19 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.0002039/0.2835, allocations: 119.2 kB / 457.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.2844, allocations: 447.3 kB / 457.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2844, allocations: 0 / 457.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.2848, allocations: 238.3 kB / 458 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.2857, allocations: 194.4 kB / 458.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.2882, allocations: 1.48 MB / 459.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.2888, allocations: 0.9411 MB / 460.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.2889, allocations: 55.42 kB / 460.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2889, allocations: 0 / 460.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of Templates: time 0.02058/0.3095, allocations: 13.54 MB / 474.2 MB, free: 11.12 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.53232334414497]