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.001782/0.001782, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002203/0.002203, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.46/1.46, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.00165/0.00165, allocations: 46.88 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09627, allocations: 53.35 MB / 378.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01135/0.1076, allocations: 8.451 MB / 387.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.1134, allocations: 2.96 MB / 390.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.114, allocations: 31.81 kB / 390.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1153, allocations: 0.5588 MB / 390.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.1164, allocations: 0.5854 MB / 391.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.117, allocations: 319.5 kB / 391.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.1188, allocations: 1.763 MB / 393.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.1195, allocations: 413.4 kB / 394 MB, free: 460 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008545/0.1203, allocations: 0.6928 MB / 394.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009066/0.1212, allocations: 0.6413 MB / 395.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.1215, allocations: 164 kB / 395.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.1218, allocations: 200 kB / 395.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.1221, allocations: 326.8 kB / 396 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.1229, allocations: 0.665 MB / 396.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.1251, allocations: 2.012 MB / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1251, allocations: 0 / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1251, allocations: 0 / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.1251, allocations: 0 / 398.7 MB, free: 11.75 MB / 366.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.003143/0.1283, allocations: 1.763 MB / 400.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1283, allocations: 8.031 kB / 400.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.1289, allocations: 207.9 kB / 400.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1303, allocations: 0.7679 MB / 401.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.1304, allocations: 167.8 kB / 401.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1306, allocations: 116.1 kB / 401.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.1328, allocations: 1.573 MB / 403.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.1328, allocations: 8 kB / 403.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.1329, allocations: 44 kB / 403.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.133, allocations: 24 kB / 403.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.1346, allocations: 0.7534 MB / 404.1 MB, free: 6.027 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.005415/0.14, allocations: 3.204 MB / 407.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.1416, allocations: 0.5426 MB / 407.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.1421, allocations: 243.4 kB / 408.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1422, allocations: 12.5 kB / 408.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006319/0.1428, allocations: 324.3 kB / 408.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 5.771e-06/0.1428, allocations: 3.984 kB / 408.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004592/0.1474, allocations: 1.845 MB / 410.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/0.1477, allocations: 483.3 kB / 410.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.149, allocations: 0.9634 MB / 411.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.149, allocations: 37.7 kB / 411.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.1496, allocations: 0.6752 MB / 412.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.1498, allocations: 245.9 kB / 412.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.1501, allocations: 194.8 kB / 412.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1503, allocations: 349.9 kB / 413.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.1509, allocations: 301.9 kB / 413.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.1521, allocations: 1.165 MB / 414.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.1536, allocations: 0.949 MB / 415.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.1536, allocations: 0 / 415.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002205/0.1558, allocations: 1.177 MB / 416.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.1559, allocations: 70.2 kB / 416.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.1559, allocations: 12.44 kB / 416.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.1565, allocations: 169.6 kB / 417 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.1572, allocations: 203.7 kB / 417.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.1618, allocations: 3.609 MB / 420.8 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.1626, allocations: 63.92 kB / 420.9 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.1626, allocations: 44 kB / 420.9 MB, free: 4.07 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.0004401/0.1631, allocations: 301.7 kB / 421.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.1632, allocations: 115.3 kB / 421.3 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.1648, allocations: 0.6851 MB / 422 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1648, allocations: 8 kB / 422 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1648, allocations: 4 kB / 422 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001538/0.1663, allocations: 0.9512 MB / 423 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.1691, allocations: 1.511 MB / 424.5 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.1691, allocations: 4 kB / 424.5 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.1697, allocations: 103.9 kB / 424.6 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.1701, allocations: 137.8 kB / 424.7 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.1701, allocations: 15.98 kB / 424.8 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.1739, allocations: 3.315 MB / 428.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1739, allocations: 4.031 kB / 428.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.1758, allocations: 1.041 MB / 429.1 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.1762, allocations: 163.2 kB / 429.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.1763, allocations: 20 kB / 429.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.177, allocations: 43.84 kB / 429.3 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.1771, allocations: 60.39 kB / 429.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.1771, allocations: 16 kB / 429.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009631/0.1781, allocations: 0.6384 MB / 430 MB, free: 10.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 430 MB, free: 10.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1791, allocations: 304 kB / 430.3 MB, free: 10.19 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.0002353/0.1794, allocations: 142.9 kB / 430.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.1815, allocations: 1.118 MB / 431.6 MB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1815, allocations: 4.938 kB / 431.6 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009858/0.1825, allocations: 0.5389 MB / 432.1 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.1837, allocations: 279.8 kB / 432.4 MB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.1877, allocations: 2.242 MB / 434.7 MB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.1883, allocations: 0.493 MB / 435.2 MB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.1888, allocations: 124.7 kB / 435.3 MB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.189, allocations: 76.48 kB / 435.4 MB, free: 4.996 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.189, allocations: 4 kB / 435.4 MB, free: 4.992 MB / 398.1 MB Notification: Performance of Templates: time 0.03131/0.2203, allocations: 17.2 MB / 452.6 MB, free: 4.105 MB / 414.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 -s ida -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: 8.070771642029285]