Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001941/0.001941, allocations: 86.2 kB / 21.99 MB, free: 4.754 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.00236/0.00236, allocations: 157.8 kB / 25.24 MB, free: 2.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 158.6 MB / 187 MB, free: 6.324 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 51.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.197, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01133/0.2084, allocations: 8.392 MB / 356.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.2138, allocations: 2.929 MB / 359.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000625/0.2145, allocations: 31.88 kB / 359.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.2159, allocations: 0.5585 MB / 360.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.217, allocations: 0.5893 MB / 361 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.2177, allocations: 319.5 kB / 361.3 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.2196, allocations: 1.759 MB / 363.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006815/0.2203, allocations: 421.4 kB / 363.5 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.2211, allocations: 0.6927 MB / 364.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000937/0.2221, allocations: 0.6413 MB / 364.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.2223, allocations: 156 kB / 365 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.2227, allocations: 207.9 kB / 365.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.223, allocations: 326.8 kB / 365.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000748/0.2238, allocations: 0.665 MB / 366.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.226, allocations: 2.014 MB / 368.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.226, allocations: 0 / 368.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.226, allocations: 0 / 368.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.226, allocations: 0 / 368.2 MB, free: 11.74 MB / 334.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.003357/0.2294, allocations: 1.763 MB / 370 MB, free: 9.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2294, allocations: 11.98 kB / 370 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/0.2301, allocations: 215.9 kB / 370.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.2315, allocations: 0.7641 MB / 370.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.2317, allocations: 163.8 kB / 371.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2318, allocations: 116.1 kB / 371.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.2341, allocations: 1.573 MB / 372.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2341, allocations: 7.953 kB / 372.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.2342, allocations: 47.94 kB / 372.8 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.2342, allocations: 28 kB / 372.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.2359, allocations: 0.7534 MB / 373.6 MB, free: 6.008 MB / 334.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.005459/0.2414, allocations: 3.192 MB / 376.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.243, allocations: 0.5501 MB / 377.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.2435, allocations: 238.7 kB / 377.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.2436, allocations: 9.062 kB / 377.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/0.2442, allocations: 327.8 kB / 377.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.604e-06/0.2442, allocations: 0 / 377.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004627/0.2488, allocations: 1.849 MB / 379.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002592/0.2491, allocations: 475.3 kB / 380.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.2504, allocations: 0.9673 MB / 381.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.2504, allocations: 37.7 kB / 381.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.251, allocations: 0.6752 MB / 381.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.2512, allocations: 249.9 kB / 382.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.2515, allocations: 190.9 kB / 382.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2517, allocations: 341.9 kB / 382.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006037/0.2523, allocations: 305.9 kB / 383 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.2536, allocations: 1.169 MB / 384.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.2551, allocations: 0.9489 MB / 385.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2551, allocations: 8 kB / 385.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002282/0.2574, allocations: 1.181 MB / 386.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.2575, allocations: 67.39 kB / 386.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.2575, allocations: 12 kB / 386.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.2581, allocations: 173.8 kB / 386.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.2588, allocations: 207.7 kB / 386.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/0.2636, allocations: 3.605 MB / 390.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.2645, allocations: 63.97 kB / 390.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/0.2646, allocations: 47.98 kB / 390.5 MB, free: 4.035 MB / 350.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.0005459/0.2651, allocations: 305.7 kB / 390.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2653, allocations: 111.3 kB / 390.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.267, allocations: 0.6851 MB / 391.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.267, allocations: 4 kB / 391.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.267, allocations: 4 kB / 391.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/0.2686, allocations: 0.955 MB / 392.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.2715, allocations: 1.507 MB / 394 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2715, allocations: 4 kB / 394 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/0.272, allocations: 107.8 kB / 394.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/0.2725, allocations: 129.8 kB / 394.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.2726, allocations: 19.98 kB / 394.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.2764, allocations: 3.304 MB / 397.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2764, allocations: 4.031 kB / 397.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.2785, allocations: 1.041 MB / 398.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.279, allocations: 171.1 kB / 398.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2791, allocations: 20 kB / 398.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.2797, allocations: 35.91 kB / 398.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.2798, allocations: 60.39 kB / 398.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.2799, allocations: 20 kB / 398.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009686/0.2808, allocations: 0.6306 MB / 399.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2808, allocations: 4 kB / 399.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001085/0.2819, allocations: 304 kB / 399.9 MB, free: 10.17 MB / 366.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.0002309/0.2822, allocations: 127.1 kB / 400 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.2843, allocations: 1.119 MB / 401.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2843, allocations: 7.938 kB / 401.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.2853, allocations: 0.5361 MB / 401.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.2866, allocations: 292.2 kB / 401.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.2904, allocations: 2.239 MB / 404.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.2909, allocations: 0.4891 MB / 404.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.2914, allocations: 132.6 kB / 404.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2916, allocations: 68.5 kB / 404.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2916, allocations: 0 / 404.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0314/0.323, allocations: 17.16 MB / 422 MB, free: 3.773 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.011132129002362]