Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 111 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 215.5 kB / 24.48 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.838/1.838, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 51.91 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3485, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009324/0.3578, allocations: 6.367 MB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.3627, allocations: 2.216 MB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.3634, allocations: 19.94 kB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.3649, allocations: 472 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.3659, allocations: 413 kB / 441.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3664, allocations: 211.7 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3676, allocations: 1.199 MB / 443.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005565/0.3682, allocations: 340.5 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.3688, allocations: 490 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.3694, allocations: 497.8 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3696, allocations: 116 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3699, allocations: 156 kB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.37, allocations: 227.1 kB / 445 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.3705, allocations: 446 kB / 445.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.3721, allocations: 1.451 MB / 446.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3721, allocations: 4 kB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3721, allocations: 0 / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3721, allocations: 4 kB / 446.9 MB, free: 8.066 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.002119/0.3742, allocations: 1.198 MB / 448.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3743, allocations: 8.031 kB / 448.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/0.3748, allocations: 148.2 kB / 448.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3759, allocations: 0.5805 MB / 448.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.376, allocations: 62.38 kB / 448.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3761, allocations: 84.25 kB / 449 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3775, allocations: 0.8334 MB / 449.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.3775, allocations: 4 kB / 449.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.3776, allocations: 28 kB / 449.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.3776, allocations: 20 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3787, allocations: 0.5231 MB / 450.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.3827, allocations: 2.924 MB / 453.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.3832, allocations: 210.5 kB / 453.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3835, allocations: 112.8 kB / 453.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3835, allocations: 11.98 kB / 453.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3835, allocations: 34.5 kB / 453.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/0.3836, allocations: 0 / 453.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002205/0.3858, allocations: 0.9005 MB / 454.6 MB, free: 44 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3859, allocations: 85.33 kB / 454.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.3868, allocations: 0.6759 MB / 455.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.3869, allocations: 29.7 kB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.3873, allocations: 0.5071 MB / 455.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3874, allocations: 111.1 kB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3876, allocations: 114.2 kB / 456.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3878, allocations: 374.7 kB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3881, allocations: 125.2 kB / 456.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.3887, allocations: 447.9 kB / 457 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.3895, allocations: 0.5714 MB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3895, allocations: 4 kB / 457.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001056/0.3906, allocations: 0.6078 MB / 458.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3906, allocations: 8 kB / 458.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3906, allocations: 12.06 kB / 458.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.3908, allocations: 40.78 kB / 458.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3913, allocations: 135.8 kB / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.3925, allocations: 1.264 MB / 459.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.393, allocations: 40.08 kB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.393, allocations: 31.94 kB / 459.7 MB, free: 10.45 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.0003773/0.3934, allocations: 241.5 kB / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3935, allocations: 67.58 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.3942, allocations: 312.8 kB / 460.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3942, allocations: 4 kB / 460.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3942, allocations: 7.938 kB / 460.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3942, allocations: 0 / 460.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.3958, allocations: 0.899 MB / 461.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3958, allocations: 0 / 461.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.3961, allocations: 68.12 kB / 461.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-05/0.3962, allocations: 20.84 kB / 461.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3962, allocations: 8 kB / 461.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.3972, allocations: 1.248 MB / 462.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.3973, allocations: 7.875 kB / 462.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.3981, allocations: 0.5416 MB / 463.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3983, allocations: 91.52 kB / 463.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.3984, allocations: 11.94 kB / 463.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3987, allocations: 19.97 kB / 463.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.3988, allocations: 23.97 kB / 463.3 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.3988, allocations: 16 kB / 463.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006175/0.3994, allocations: 459 kB / 463.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 0 / 463.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007136/0.4002, allocations: 163.9 kB / 463.9 MB, free: 6.035 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.0002367/0.4004, allocations: 119.2 kB / 464 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.4013, allocations: 465.1 kB / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4013, allocations: 0 / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.4017, allocations: 226.5 kB / 464.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.4026, allocations: 183.5 kB / 464.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.4052, allocations: 1.432 MB / 466.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4056, allocations: 348.4 kB / 466.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.4059, allocations: 81.48 kB / 466.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.406, allocations: 51.31 kB / 466.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.406, allocations: 0 / 466.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of Templates: time 0.02161/0.4276, allocations: 9.325 MB / 476.1 MB, free: 9.922 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.767664918996161]