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.001928/0.001928, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002273/0.002273, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 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.444/1.444, allocations: 225.7 MB / 253.3 MB, free: 12.87 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.001595/0.001595, allocations: 47.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2336, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01092/0.2446, allocations: 8.459 MB / 432.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.2502, allocations: 2.905 MB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2512, allocations: 35.81 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.2528, allocations: 0.553 MB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.2542, allocations: 0.5932 MB / 436.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.2549, allocations: 319.5 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.257, allocations: 1.767 MB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.2578, allocations: 421.3 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.2587, allocations: 0.6928 MB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009504/0.2597, allocations: 0.6412 MB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2599, allocations: 156 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.2603, allocations: 204 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.2606, allocations: 334.8 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.2613, allocations: 0.6612 MB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.2636, allocations: 2.004 MB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2636, allocations: 0 / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2636, allocations: 4 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.2636, allocations: 0 / 443.6 MB, free: 10.66 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.003367/0.267, allocations: 1.755 MB / 445.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.267, allocations: 8.031 kB / 445.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.2677, allocations: 207.9 kB / 445.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.2692, allocations: 0.7679 MB / 446.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.2694, allocations: 167.8 kB / 446.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.2696, allocations: 116.1 kB / 446.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.2718, allocations: 1.569 MB / 448.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.2718, allocations: 3.953 kB / 448.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.2719, allocations: 51.94 kB / 448.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.272, allocations: 32 kB / 448.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2736, allocations: 0.7569 MB / 449 MB, free: 4.934 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.005677/0.2793, allocations: 3.193 MB / 452.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.2809, allocations: 0.5516 MB / 452.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.2814, allocations: 238.7 kB / 453 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2815, allocations: 12.44 kB / 453 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.2821, allocations: 315.9 kB / 453.3 MB, free: 468 kB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.936e-06/0.2821, allocations: 0 / 453.3 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004889/0.287, allocations: 1.853 MB / 455.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/0.2873, allocations: 475.3 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.2887, allocations: 0.9634 MB / 456.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.2888, allocations: 41.7 kB / 456.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.2894, allocations: 0.6751 MB / 457.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.2896, allocations: 238 kB / 457.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.2899, allocations: 198.9 kB / 457.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2901, allocations: 345.9 kB / 458 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.2906, allocations: 297.9 kB / 458.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.2919, allocations: 1.173 MB / 459.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2934, allocations: 0.9412 MB / 460.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2934, allocations: 0 / 460.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002323/0.2957, allocations: 1.192 MB / 461.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.2958, allocations: 69.27 kB / 461.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.2958, allocations: 15.94 kB / 461.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.2964, allocations: 165.6 kB / 461.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.2972, allocations: 211.8 kB / 462.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.3018, allocations: 3.594 MB / 465.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.3027, allocations: 64.22 kB / 465.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.3028, allocations: 44 kB / 465.8 MB, free: 2.992 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.0005365/0.3033, allocations: 301.4 kB / 466.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3035, allocations: 119.2 kB / 466.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.305, allocations: 0.6967 MB / 466.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.305, allocations: 4 kB / 466.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.305, allocations: 0 / 466.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/0.3065, allocations: 0.9551 MB / 467.9 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.3094, allocations: 1.499 MB / 469.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3094, allocations: 8.031 kB / 469.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.3099, allocations: 111.8 kB / 469.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.3103, allocations: 125.6 kB / 469.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.3103, allocations: 19.98 kB / 469.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.314, allocations: 3.308 MB / 472.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.314, allocations: 4.031 kB / 472.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.316, allocations: 1.037 MB / 474 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.3164, allocations: 167.4 kB / 474.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3165, allocations: 23.98 kB / 474.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.3171, allocations: 35.91 kB / 474.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3172, allocations: 60.39 kB / 474.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.3172, allocations: 16 kB / 474.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009426/0.3182, allocations: 0.6345 MB / 474.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 0 / 474.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3193, allocations: 300 kB / 475.2 MB, free: 9.137 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.0002399/0.3195, allocations: 143.1 kB / 475.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.3216, allocations: 1.119 MB / 476.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3216, allocations: 4 kB / 476.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.3225, allocations: 0.5282 MB / 477 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.3238, allocations: 292.1 kB / 477.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.3277, allocations: 2.288 MB / 479.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.3282, allocations: 0.493 MB / 480 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3284, allocations: 75.44 kB / 480.1 MB, free: 4.016 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3284, allocations: 0 / 480.1 MB, free: 4.016 MB / 382.1 MB Notification: Performance of Templates: time 0.03411/0.3626, allocations: 26.02 MB / 0.4943 GB, free: 10.08 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/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: 13.262588091660291]