Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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.001335/0.001335, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001429/0.001429, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 79.81 kB / 378.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.242, allocations: 53.31 MB / 432.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.01434/0.2563, allocations: 11.84 MB / 443.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.2628, allocations: 3.267 MB / 447.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.2646, allocations: 43.81 kB / 447.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.2669, allocations: 0.6636 MB / 447.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.2694, allocations: 0.7212 MB / 448.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2707, allocations: 411.4 kB / 449 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.2742, allocations: 2.236 MB / 451.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.2756, allocations: 0.6571 MB / 451.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.2771, allocations: 0.856 MB / 452.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.2787, allocations: 0.91 MB / 453.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.2792, allocations: 216 kB / 453.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007861/0.28, allocations: 256 kB / 454.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.2804, allocations: 434.4 kB / 454.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.282, allocations: 1.019 MB / 455.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.2855, allocations: 2.689 MB / 458.2 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2855, allocations: 7.938 kB / 458.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2855, allocations: 0 / 458.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.955e-05/0.2856, allocations: 0 / 458.3 MB, free: 12.99 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004705/0.2903, allocations: 2.109 MB / 460.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2903, allocations: 12.03 kB / 460.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.2913, allocations: 259.6 kB / 460.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.2934, allocations: 1.049 MB / 461.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.2935, allocations: 115.5 kB / 461.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.2938, allocations: 163.9 kB / 462 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.2969, allocations: 1.491 MB / 463.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.706e-05/0.2969, allocations: 7.953 kB / 463.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.2971, allocations: 63.98 kB / 463.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.921e-05/0.2971, allocations: 40 kB / 463.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.2993, allocations: 0.9746 MB / 464.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009826/0.3091, allocations: 6.549 MB / 471.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.31, allocations: 372.6 kB / 471.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3104, allocations: 206.1 kB / 471.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3104, allocations: 12.38 kB / 471.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.311, allocations: 264.8 kB / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/0.311, allocations: 0 / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.003739/0.3147, allocations: 1.784 MB / 473.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3148, allocations: 162.8 kB / 473.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.3168, allocations: 1.281 MB / 475.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.3169, allocations: 37.7 kB / 475.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/0.3177, allocations: 0.8933 MB / 476.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.3179, allocations: 222.2 kB / 476.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.3182, allocations: 218.7 kB / 476.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3183, allocations: 353.9 kB / 476.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.3188, allocations: 230.5 kB / 477.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/0.3198, allocations: 0.8073 MB / 477.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.3213, allocations: 1.122 MB / 479 MB, free: 6.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.3213, allocations: 8 kB / 479 MB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002186/0.3235, allocations: 1.173 MB / 480.2 MB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.3235, allocations: 38.39 kB / 480.2 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.3236, allocations: 20 kB / 480.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.3238, allocations: 69.62 kB / 480.3 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.3246, allocations: 267.5 kB / 480.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.327, allocations: 2.778 MB / 483.3 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.328, allocations: 72.02 kB / 483.4 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.3281, allocations: 60 kB / 483.5 MB, free: 2.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.3288, allocations: 369.2 kB / 483.8 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.329, allocations: 139.1 kB / 484 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3302, allocations: 0.5528 MB / 484.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3302, allocations: 4 kB / 484.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3302, allocations: 0 / 484.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3302, allocations: 0 / 484.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.3334, allocations: 1.874 MB / 486.4 MB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3335, allocations: 4 kB / 486.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.3339, allocations: 103.8 kB / 486.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.3341, allocations: 46.12 kB / 486.5 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.3341, allocations: 19.94 kB / 486.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.3363, allocations: 2.753 MB / 489.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.3363, allocations: 7.938 kB / 489.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.338, allocations: 0.9286 MB / 490.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.3386, allocations: 260.2 kB / 490.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.3388, allocations: 16 kB / 490.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/0.3395, allocations: 35.97 kB / 490.6 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3396, allocations: 51.81 kB / 490.6 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3396, allocations: 20 kB / 490.6 MB, free: 10.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001447/0.3411, allocations: 0.8461 MB / 491.5 MB, free: 9.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3411, allocations: 0 / 491.5 MB, free: 9.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001239/0.3423, allocations: 308 kB / 491.8 MB, free: 9.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0002716/0.3426, allocations: 131 kB / 491.9 MB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3443, allocations: 0.9055 MB / 492.8 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3443, allocations: 0 / 492.8 MB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.345, allocations: 450.1 kB / 493.3 MB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.3467, allocations: 338.5 kB / 493.6 MB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.3515, allocations: 2.607 MB / 496.2 MB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.3525, allocations: 1.174 MB / 497.4 MB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.3528, allocations: 95.42 kB / 497.5 MB, free: 3.48 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3528, allocations: 0 / 497.5 MB, free: 3.48 MB / 398.1 MB Notification: Performance of Templates: time 0.0435/0.3963, allocations: 31.83 MB / 0.5169 GB, free: 3.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStatic/DCPM_QuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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: 9.451865408103913]