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.001254/0.001254, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 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.00455/0.00455, allocations: 161.1 kB / 24.7 MB, free: 9.438 MB / 18.57 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 0.8441/0.8441, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.121e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.006812/0.006833, allocations: 8.476 MB / 334.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.01099, allocations: 2.968 MB / 337.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.0117, allocations: 35.81 kB / 337.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01284, allocations: 0.5586 MB / 337.9 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009235/0.01376, allocations: 0.6124 MB / 338.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.01425, allocations: 327.3 kB / 338.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.01569, allocations: 1.839 MB / 340.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.01622, allocations: 429.1 kB / 341.1 MB, free: 96 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.0173, allocations: 1.037 MB / 342.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.01777, allocations: 0.5335 MB / 342.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01791, allocations: 167.9 kB / 342.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.01814, allocations: 196 kB / 343 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.01832, allocations: 338.7 kB / 343.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.0187, allocations: 0.5573 MB / 343.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.02014, allocations: 2.005 MB / 345.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02015, allocations: 4 kB / 345.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02015, allocations: 0 / 345.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.02016, allocations: 0 / 345.9 MB, free: 11.26 MB / 314.7 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.00202/0.02218, allocations: 1.754 MB / 347.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.02222, allocations: 8.031 kB / 347.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.02255, allocations: 207.9 kB / 347.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.0235, allocations: 0.775 MB / 348.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.02364, allocations: 163.8 kB / 348.8 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.02375, allocations: 112.4 kB / 348.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.02507, allocations: 1.577 MB / 350.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.0251, allocations: 7.938 kB / 350.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.02515, allocations: 44 kB / 350.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.02517, allocations: 28 kB / 350.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009528/0.02612, allocations: 0.7535 MB / 351.3 MB, free: 5.543 MB / 314.7 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.003319/0.02944, allocations: 3.196 MB / 354.5 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008863/0.03033, allocations: 0.543 MB / 355.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.03062, allocations: 246.6 kB / 355.3 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.03066, allocations: 16.48 kB / 355.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.03105, allocations: 315.9 kB / 355.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.405e-06/0.03105, allocations: 0 / 355.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.002713/0.03377, allocations: 1.849 MB / 357.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.03391, allocations: 471.3 kB / 357.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.03472, allocations: 0.9673 MB / 358.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.03475, allocations: 41.7 kB / 358.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.03508, allocations: 0.6752 MB / 359.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.03521, allocations: 241.9 kB / 359.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.03538, allocations: 198.8 kB / 360 MB, free: 12.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.03548, allocations: 341.9 kB / 360.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.03582, allocations: 305.8 kB / 360.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.03647, allocations: 1.161 MB / 361.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.0373, allocations: 0.9451 MB / 362.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.0373, allocations: 4 kB / 362.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001208/0.03851, allocations: 1.176 MB / 364 MB, free: 7.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.03855, allocations: 67.39 kB / 364 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.03856, allocations: 12.5 kB / 364 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.03894, allocations: 173.5 kB / 364.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.03928, allocations: 207.6 kB / 364.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.04189, allocations: 3.6 MB / 368 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.04227, allocations: 59.92 kB / 368.1 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.04231, allocations: 48 kB / 368.1 MB, free: 3.598 MB / 330.7 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.0002799/0.04259, allocations: 297.8 kB / 368.4 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.04268, allocations: 119.2 kB / 368.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/0.04351, allocations: 0.6928 MB / 369.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.04351, allocations: 12 kB / 369.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.04351, allocations: 0 / 369.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007883/0.0443, allocations: 0.9473 MB / 370.2 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.04586, allocations: 1.514 MB / 371.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04587, allocations: 0 / 371.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.0461, allocations: 107.8 kB / 371.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.04633, allocations: 133.8 kB / 371.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.04635, allocations: 12 kB / 371.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.04832, allocations: 3.302 MB / 375.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.04832, allocations: 7.969 kB / 375.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.0494, allocations: 1.041 MB / 376.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.04963, allocations: 163.2 kB / 376.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.0497, allocations: 20 kB / 376.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.04998, allocations: 39.97 kB / 376.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.05007, allocations: 60.33 kB / 376.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.0501, allocations: 19.98 kB / 376.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005654/0.05066, allocations: 0.6345 MB / 377.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.05066, allocations: 7.875 kB / 377.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00064/0.0513, allocations: 304 kB / 377.5 MB, free: 9.719 MB / 346.7 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.0002106/0.05151, allocations: 143 kB / 377.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.05272, allocations: 1.119 MB / 378.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.05272, allocations: 0 / 378.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.05323, allocations: 0.5236 MB / 379.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.05398, allocations: 290.8 kB / 379.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.05624, allocations: 2.101 MB / 381.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.05657, allocations: 0.4968 MB / 382.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.0567, allocations: 76.5 kB / 382.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05671, allocations: 0 / 382.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01851/0.07521, allocations: 26.03 MB / 408.3 MB, free: 10.84 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.888279064558446]