Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001263/0.001263, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001358/0.001358, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.455/1.455, allocations: 230.6 MB / 254.8 MB, free: 15.27 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_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_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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 43.94 kB / 374.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 53.34 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01288/0.1282, allocations: 9.644 MB / 437.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.1353, allocations: 3.15 MB / 440.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.1368, allocations: 35.81 kB / 440.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.1386, allocations: 0.6211 MB / 441 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.1405, allocations: 0.5816 MB / 441.5 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.1413, allocations: 319.5 kB / 441.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.1434, allocations: 1.759 MB / 443.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.1441, allocations: 456.9 kB / 444.1 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009742/0.1451, allocations: 0.7004 MB / 444.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008974/0.146, allocations: 0.7467 MB / 445.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.1462, allocations: 156 kB / 445.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1466, allocations: 196 kB / 445.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.1469, allocations: 330.8 kB / 446.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008096/0.1477, allocations: 0.8049 MB / 447 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2227/0.3704, allocations: 1.987 MB / 449 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3704, allocations: 1.594 kB / 449 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3704, allocations: 0 / 449 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.307e-05/0.3705, allocations: 1.594 kB / 449 MB, free: 13.56 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003537/0.374, allocations: 1.833 MB / 450.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3741, allocations: 12.81 kB / 450.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.3747, allocations: 207.5 kB / 451 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3762, allocations: 0.8406 MB / 451.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3763, allocations: 112.4 kB / 452 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3765, allocations: 111.5 kB / 452.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.3785, allocations: 1.15 MB / 453.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.3786, allocations: 5.766 kB / 453.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.3787, allocations: 45.47 kB / 453.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.3787, allocations: 26.22 kB / 453.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3804, allocations: 0.758 MB / 454.1 MB, free: 11.82 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.005942/0.3863, allocations: 3.925 MB / 458 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3878, allocations: 0.5468 MB / 458.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.3883, allocations: 243.1 kB / 458.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.3884, allocations: 12.22 kB / 458.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.3891, allocations: 300.7 kB / 459.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.425e-06/0.3891, allocations: 0 / 459.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004535/0.3936, allocations: 2.09 MB / 461.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3937, allocations: 474.7 kB / 461.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.3952, allocations: 1.106 MB / 462.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.3953, allocations: 40.64 kB / 462.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.3956, allocations: 0.657 MB / 463.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3958, allocations: 246.7 kB / 463.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.396, allocations: 193.1 kB / 463.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.3961, allocations: 350.2 kB / 464.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.3966, allocations: 245.6 kB / 464.4 MB, free: 6.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.3975, allocations: 0.7117 MB / 465.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3989, allocations: 0.9398 MB / 466.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3989, allocations: 6.109 kB / 466.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002075/0.4009, allocations: 1.147 MB / 467.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.401, allocations: 69.44 kB / 467.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.401, allocations: 11.41 kB / 467.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.4016, allocations: 171 kB / 467.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.4023, allocations: 202 kB / 467.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.4059, allocations: 3.879 MB / 471.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4071, allocations: 70.16 kB / 471.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.4072, allocations: 51.08 kB / 471.7 MB, free: 1.289 MB / 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.0004633/0.4076, allocations: 297.7 kB / 472 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4078, allocations: 133 kB / 472.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.4092, allocations: 0.7026 MB / 472.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4092, allocations: 7.781 kB / 472.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4092, allocations: 0 / 472.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.4105, allocations: 0.953 MB / 473.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.4135, allocations: 1.781 MB / 475.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4135, allocations: 2.156 kB / 475.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.414, allocations: 106.8 kB / 475.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.4144, allocations: 132.1 kB / 475.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.4145, allocations: 15.69 kB / 475.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.4182, allocations: 3.589 MB / 479.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4182, allocations: 9.781 kB / 479.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.4202, allocations: 1.05 MB / 480.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.4208, allocations: 263.5 kB / 480.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.4209, allocations: 15.5 kB / 480.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.4216, allocations: 44.23 kB / 480.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4217, allocations: 51.45 kB / 480.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.4217, allocations: 19.06 kB / 480.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.4229, allocations: 0.746 MB / 481.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4229, allocations: 0 / 481.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001303/0.4242, allocations: 306.2 kB / 481.9 MB, free: 10.61 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.0002773/0.4245, allocations: 145.2 kB / 482 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.4266, allocations: 1.059 MB / 483.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4266, allocations: 1.156 kB / 483.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.4276, allocations: 0.535 MB / 483.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.429, allocations: 334.3 kB / 483.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.4329, allocations: 2.31 MB / 486.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.4337, allocations: 1.087 MB / 487.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.434, allocations: 81.81 kB / 487.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.434, allocations: 0 / 487.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of Templates: time 0.03637/0.4704, allocations: 26.44 MB / 0.5018 GB, free: 440 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.56966058499529]