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_Cooling.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.001743/0.001743, allocations: 111.7 kB / 19.17 MB, free: 3.91 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.002085/0.002085, allocations: 205 kB / 22.12 MB, free: 0.9648 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.461/1.461, allocations: 230.4 MB / 255.4 MB, free: 15.04 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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [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.002131/0.002131, allocations: 67.83 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1121, allocations: 53.31 MB / 428.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1998/0.3119, allocations: 9.65 MB / 437.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.3165, allocations: 3.145 MB / 440.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.3172, allocations: 26.53 kB / 440.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3186, allocations: 0.6191 MB / 441.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.3196, allocations: 0.5829 MB / 442.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.3202, allocations: 322.9 kB / 442.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3217, allocations: 1.761 MB / 444.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.3223, allocations: 451.3 kB / 444.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007607/0.323, allocations: 0.6818 MB / 445.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007482/0.3238, allocations: 0.7454 MB / 446 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.324, allocations: 162.5 kB / 446.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.3245, allocations: 196.8 kB / 446.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3247, allocations: 328.3 kB / 446.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.3253, allocations: 0.8032 MB / 447.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.3272, allocations: 1.993 MB / 449.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3272, allocations: 5.406 kB / 449.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3272, allocations: 0.8438 kB / 449.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.3272, allocations: 0 / 449.5 MB, free: 0.4961 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003311/0.3306, allocations: 1.838 MB / 451.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3306, allocations: 9.344 kB / 451.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/0.3312, allocations: 206.2 kB / 451.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3327, allocations: 0.8396 MB / 452.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.3328, allocations: 114.5 kB / 452.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.333, allocations: 114.5 kB / 452.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.335, allocations: 1.145 MB / 453.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.3351, allocations: 3.703 kB / 453.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3352, allocations: 47.44 kB / 453.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.3352, allocations: 27.31 kB / 453.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.3368, allocations: 0.7562 MB / 454.6 MB, free: 13.58 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.3429, allocations: 3.924 MB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.3445, allocations: 0.5565 MB / 459.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.345, allocations: 241.4 kB / 459.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.345, allocations: 11.73 kB / 459.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.3456, allocations: 292.3 kB / 459.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.715e-06/0.3456, allocations: 1 kB / 459.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004862/0.3505, allocations: 2.099 MB / 461.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/0.3507, allocations: 477 kB / 462.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.3523, allocations: 1.107 MB / 463.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.3523, allocations: 38.64 kB / 463.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005721/0.3529, allocations: 0.6548 MB / 464 MB, free: 7.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.3531, allocations: 248.1 kB / 464.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.3534, allocations: 200 kB / 464.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3536, allocations: 346.8 kB / 464.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.3541, allocations: 245 kB / 465 MB, free: 6.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/0.355, allocations: 0.7079 MB / 465.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3564, allocations: 0.9492 MB / 466.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3564, allocations: 3.625 kB / 466.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002152/0.3586, allocations: 1.138 MB / 467.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.3587, allocations: 69.69 kB / 467.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3587, allocations: 11.69 kB / 467.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/0.3593, allocations: 169.5 kB / 468 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.3599, allocations: 205.2 kB / 468.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004637/0.3646, allocations: 3.892 MB / 472.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.3657, allocations: 64.08 kB / 472.2 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.3657, allocations: 49.97 kB / 472.2 MB, free: 476 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000523/0.3663, allocations: 302.1 kB / 472.5 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.3664, allocations: 132.3 kB / 472.7 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.3679, allocations: 0.6942 MB / 473.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.368, allocations: 5.594 kB / 473.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.368, allocations: 1 kB / 473.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.3694, allocations: 0.9531 MB / 474.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.3724, allocations: 1.789 MB / 476.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3724, allocations: 2.781 kB / 476.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.3728, allocations: 104.5 kB / 476.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.3732, allocations: 130.7 kB / 476.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.3733, allocations: 17.62 kB / 476.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.3769, allocations: 3.588 MB / 480 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3769, allocations: 2.906 kB / 480 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3787, allocations: 1.047 MB / 481 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.3792, allocations: 261.9 kB / 481.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3793, allocations: 19.88 kB / 481.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.38, allocations: 39.56 kB / 481.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3801, allocations: 57.09 kB / 481.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.3801, allocations: 21.41 kB / 481.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.3811, allocations: 0.7474 MB / 482.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 0 / 482.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001125/0.3823, allocations: 314.2 kB / 482.4 MB, free: 8.508 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * 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 (52): * Single equations (assignments): 48 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.3825, allocations: 130 kB / 482.6 MB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3844, allocations: 1.066 MB / 483.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3845, allocations: 4 kB / 483.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009124/0.3854, allocations: 0.5408 MB / 484.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.3867, allocations: 332.9 kB / 484.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.3904, allocations: 2.287 MB / 486.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.3911, allocations: 1.086 MB / 487.9 MB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.3913, allocations: 87.44 kB / 488 MB, free: 2.852 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3913, allocations: 0 / 488 MB, free: 2.852 MB / 382.1 MB Notification: Performance of Templates: time 0.03458/0.4259, allocations: 26.43 MB / 0.5023 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 13.527779408032075]