Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.92 kB / 368.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2702, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01254/0.2827, allocations: 9.676 MB / 430.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006184/0.2889, allocations: 3.123 MB / 433.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2899, allocations: 27.94 kB / 433.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.2916, allocations: 0.6188 MB / 434.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.2932, allocations: 0.5893 MB / 434.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.2939, allocations: 319.4 kB / 435.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.2959, allocations: 1.762 MB / 437 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.2966, allocations: 452.9 kB / 437.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008142/0.2974, allocations: 0.6693 MB / 438.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009531/0.2984, allocations: 0.7428 MB / 438.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.2986, allocations: 164 kB / 439 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2989, allocations: 200 kB / 439.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.2992, allocations: 330.8 kB / 439.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007797/0.3, allocations: 0.8049 MB / 440.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.3022, allocations: 1.988 MB / 442.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3022, allocations: 0 / 442.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3022, allocations: 0 / 442.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3023, allocations: 7.875 kB / 442.3 MB, free: 9.578 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.003189/0.3054, allocations: 1.83 MB / 444.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3055, allocations: 8.031 kB / 444.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005953/0.3061, allocations: 211.9 kB / 444.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3075, allocations: 0.8374 MB / 445.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.3076, allocations: 120.4 kB / 445.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.3078, allocations: 120.1 kB / 445.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.3098, allocations: 1.138 MB / 446.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.3098, allocations: 7.953 kB / 446.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.3099, allocations: 51.94 kB / 446.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.3099, allocations: 28 kB / 446.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.3115, allocations: 0.7574 MB / 447.4 MB, free: 4.266 MB / 350.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.00592/0.3174, allocations: 3.919 MB / 451.3 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.3189, allocations: 0.5539 MB / 451.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.3194, allocations: 240.3 kB / 452.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.3195, allocations: 12.55 kB / 452.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.3201, allocations: 299.1 kB / 452.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.3201, allocations: 288 / 452.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004862/0.325, allocations: 2.087 MB / 454.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003155/0.3253, allocations: 479.2 kB / 455 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.3269, allocations: 1.113 MB / 456.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.327, allocations: 37.7 kB / 456.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/0.3275, allocations: 0.6522 MB / 456.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.3278, allocations: 245.9 kB / 457 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.328, allocations: 198.8 kB / 457.2 MB, free: 10 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3282, allocations: 345.9 kB / 457.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.3287, allocations: 238.5 kB / 457.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.3296, allocations: 0.7208 MB / 458.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.3311, allocations: 0.9453 MB / 459.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3311, allocations: 7.938 kB / 459.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00211/0.3332, allocations: 1.131 MB / 460.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.3332, allocations: 67.41 kB / 460.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3333, allocations: 16.03 kB / 460.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.3338, allocations: 165.6 kB / 460.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.3345, allocations: 199.7 kB / 461 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.3394, allocations: 3.9 MB / 464.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3405, allocations: 72.02 kB / 465 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.3405, allocations: 48 kB / 465.1 MB, free: 1.48 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.0005214/0.3411, allocations: 293.5 kB / 465.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.3413, allocations: 139.3 kB / 465.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3428, allocations: 0.6921 MB / 466.2 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3428, allocations: 12 kB / 466.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3428, allocations: 0 / 466.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.3443, allocations: 0.9529 MB / 467.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.3474, allocations: 1.79 MB / 468.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3474, allocations: 4.031 kB / 468.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.3479, allocations: 103.9 kB / 469 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.3484, allocations: 129.6 kB / 469.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.3484, allocations: 16 kB / 469.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.3523, allocations: 3.587 MB / 472.8 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3523, allocations: 4.031 kB / 472.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.3543, allocations: 1.055 MB / 473.8 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.3547, allocations: 256.3 kB / 474.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.3549, allocations: 20 kB / 474.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.3555, allocations: 36.09 kB / 474.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.3556, allocations: 64.36 kB / 474.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.3557, allocations: 23.98 kB / 474.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001109/0.3568, allocations: 0.7406 MB / 475 MB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3568, allocations: 0 / 475 MB, free: 7.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3578, allocations: 315.9 kB / 475.3 MB, free: 6.711 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.0002307/0.3581, allocations: 127.2 kB / 475.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.3601, allocations: 1.069 MB / 476.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3601, allocations: 4.125 kB / 476.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009563/0.361, allocations: 0.5392 MB / 477 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.3623, allocations: 332.8 kB / 477.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.366, allocations: 2.251 MB / 479.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.3668, allocations: 1.089 MB / 480.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.3672, allocations: 141.8 kB / 480.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3674, allocations: 79.44 kB / 480.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3674, allocations: 0 / 480.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of Templates: time 0.03482/0.4022, allocations: 18.7 MB / 499.6 MB, free: 14.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.161080248653889]