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.001778/0.001778, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002206/0.002206, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001547/0.001547, allocations: 51.92 kB / 379.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2257, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0161/0.2418, allocations: 9.685 MB / 442.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.2498, allocations: 3.162 MB / 445.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.2512, allocations: 35.81 kB / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.2536, allocations: 0.6173 MB / 445.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.2559, allocations: 0.5854 MB / 446.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2572, allocations: 319.5 kB / 446.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00339/0.2606, allocations: 1.767 MB / 448.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.2617, allocations: 445.4 kB / 449 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2633, allocations: 0.6928 MB / 449.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.265, allocations: 0.7428 MB / 450.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.2655, allocations: 160 kB / 450.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.2663, allocations: 200 kB / 450.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.2668, allocations: 330.8 kB / 451.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.2682, allocations: 0.8087 MB / 451.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.2713, allocations: 1.992 MB / 453.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2714, allocations: 3.938 kB / 453.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2714, allocations: 0 / 453.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.2714, allocations: 0 / 453.9 MB, free: 1.32 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.003768/0.2752, allocations: 1.763 MB / 455.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2752, allocations: 15.97 kB / 455.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.2758, allocations: 203.9 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2773, allocations: 0.768 MB / 456.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.2775, allocations: 167.8 kB / 456.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.2777, allocations: 112.1 kB / 457 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.2796, allocations: 1.142 MB / 458.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.2797, allocations: 4 kB / 458.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.2798, allocations: 44 kB / 458.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.2798, allocations: 31.94 kB / 458.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2814, allocations: 0.7574 MB / 458.9 MB, free: 12.13 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.006351/0.2877, allocations: 3.817 MB / 462.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2893, allocations: 0.5462 MB / 463.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.2898, allocations: 242.7 kB / 463.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.2898, allocations: 12.5 kB / 463.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2904, allocations: 294.2 kB / 463.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.2904, allocations: 4 kB / 463.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004745/0.2952, allocations: 1.864 MB / 465.7 MB, free: 5.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/0.2955, allocations: 479.3 kB / 466.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.2971, allocations: 1.109 MB / 467.3 MB, free: 3.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.2972, allocations: 37.7 kB / 467.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.2977, allocations: 0.6677 MB / 468 MB, free: 2.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.2979, allocations: 238 kB / 468.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.2982, allocations: 198.8 kB / 468.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.2984, allocations: 345.9 kB / 468.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2989, allocations: 242.5 kB / 469 MB, free: 1.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.2999, allocations: 0.7134 MB / 469.7 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3013, allocations: 0.9335 MB / 470.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3013, allocations: 7.938 kB / 470.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002114/0.3034, allocations: 1.146 MB / 471.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.3035, allocations: 63.41 kB / 471.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.3035, allocations: 12 kB / 471.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.3041, allocations: 176.7 kB / 472 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.3048, allocations: 203.7 kB / 472.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/0.3093, allocations: 3.684 MB / 475.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.3103, allocations: 79.92 kB / 476 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3104, allocations: 48.06 kB / 476 MB, free: 9.977 MB / 382.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.0005596/0.311, allocations: 293.6 kB / 476.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.3112, allocations: 131.2 kB / 476.5 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3128, allocations: 0.706 MB / 477.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3128, allocations: 8 kB / 477.2 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3128, allocations: 0 / 477.2 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/0.3143, allocations: 0.9473 MB / 478.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.3176, allocations: 1.756 MB / 479.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3176, allocations: 0 / 479.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.3181, allocations: 108 kB / 480 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.3185, allocations: 129.6 kB / 480.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.3185, allocations: 12 kB / 480.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.3224, allocations: 3.39 MB / 483.5 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.3224, allocations: 3.938 kB / 483.5 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.3246, allocations: 1.053 MB / 484.6 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.3251, allocations: 179.2 kB / 484.7 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.3253, allocations: 20.12 kB / 484.8 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.326, allocations: 39.97 kB / 484.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3261, allocations: 60.27 kB / 484.9 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.3262, allocations: 20 kB / 484.9 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.3274, allocations: 0.7523 MB / 485.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3274, allocations: 0 / 485.6 MB, free: 15.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001149/0.3285, allocations: 311.9 kB / 485.9 MB, free: 15.59 MB / 398.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.0002485/0.3288, allocations: 134.1 kB / 486.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.331, allocations: 1.08 MB / 487.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.331, allocations: 0 / 487.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.332, allocations: 0.5322 MB / 487.7 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.3334, allocations: 325.1 kB / 488 MB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.3376, allocations: 2.303 MB / 490.3 MB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/0.3384, allocations: 1.085 MB / 491.4 MB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.3387, allocations: 79.44 kB / 491.5 MB, free: 9.895 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3387, allocations: 3.938 kB / 491.5 MB, free: 9.891 MB / 398.1 MB Notification: Performance of Templates: time 0.0361/0.3748, allocations: 26.43 MB / 0.5058 GB, free: 15.56 MB / 430.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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.434662163024768]