Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001671/0.001671, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.002036/0.002036, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 15.24 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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.91 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.1, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009865/0.1099, allocations: 8.022 MB / 435.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.1145, allocations: 2.66 MB / 438.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.115, allocations: 27.88 kB / 438.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1162, allocations: 0.5204 MB / 438.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008852/0.1171, allocations: 432.8 kB / 439.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1175, allocations: 223.6 kB / 439.4 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1188, allocations: 1.23 MB / 440.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005863/0.1194, allocations: 370 kB / 441 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.1201, allocations: 0.4903 MB / 441.4 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.1207, allocations: 0.5172 MB / 442 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.1208, allocations: 116 kB / 442.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.1211, allocations: 164 kB / 442.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.1213, allocations: 239.1 kB / 442.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.1218, allocations: 0.5638 MB / 443 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.1235, allocations: 1.471 MB / 444.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1235, allocations: 0 / 444.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1235, allocations: 0 / 444.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.1235, allocations: 0 / 444.5 MB, free: 3.176 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002295/0.1258, allocations: 1.327 MB / 445.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1258, allocations: 8.031 kB / 445.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.1265, allocations: 180.2 kB / 446 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.1276, allocations: 0.6537 MB / 446.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1277, allocations: 66.38 kB / 446.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1278, allocations: 87.94 kB / 446.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.193/0.3208, allocations: 0.8137 MB / 447.6 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.3209, allocations: 10.86 kB / 447.6 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.321, allocations: 33.19 kB / 447.7 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.3211, allocations: 19.03 kB / 447.7 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.3226, allocations: 0.5436 MB / 448.2 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.3273, allocations: 3.553 MB / 451.8 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.3279, allocations: 231.5 kB / 452 MB, free: 22.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3281, allocations: 106.6 kB / 452.1 MB, free: 22.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.3281, allocations: 3.812 kB / 452.1 MB, free: 22.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3282, allocations: 37.62 kB / 452.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.875e-06/0.3282, allocations: 0 / 452.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00223/0.3304, allocations: 1.088 MB / 453.2 MB, free: 21.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3304, allocations: 83.7 kB / 453.3 MB, free: 21.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3316, allocations: 0.7696 MB / 454.1 MB, free: 21.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3316, allocations: 30.8 kB / 454.1 MB, free: 21.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.3319, allocations: 0.5306 MB / 454.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.332, allocations: 113.2 kB / 454.8 MB, free: 20.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3322, allocations: 126.1 kB / 454.9 MB, free: 20.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3323, allocations: 382.2 kB / 455.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.3326, allocations: 130.3 kB / 455.4 MB, free: 20.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.333, allocations: 445.7 kB / 455.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.3338, allocations: 0.6088 MB / 456.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3338, allocations: 5.094 kB / 456.4 MB, free: 19.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001222/0.335, allocations: 0.6578 MB / 457.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3351, allocations: 14.62 kB / 457.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3351, allocations: 9.781 kB / 457.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.3353, allocations: 34.47 kB / 457.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.3359, allocations: 156.9 kB / 457.3 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.3371, allocations: 1.389 MB / 458.7 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.3377, allocations: 42.06 kB / 458.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.3378, allocations: 33.28 kB / 458.8 MB, free: 17.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.3381, allocations: 237.5 kB / 459 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3383, allocations: 81.02 kB / 459.1 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.339, allocations: 330.4 kB / 459.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.339, allocations: 3.578 kB / 459.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.339, allocations: 5.312 kB / 459.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.339, allocations: 1.266 kB / 459.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3409, allocations: 1.12 MB / 460.5 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.341, allocations: 4.984 kB / 460.5 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.3413, allocations: 65.06 kB / 460.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.781e-05/0.3414, allocations: 21.86 kB / 460.6 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3414, allocations: 9.234 kB / 460.6 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007175/0.3421, allocations: 1.376 MB / 462 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3421, allocations: 6.094 kB / 462 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.343, allocations: 0.5815 MB / 462.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.3433, allocations: 181.3 kB / 462.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.3433, allocations: 8.953 kB / 462.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.3437, allocations: 23.42 kB / 462.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.3438, allocations: 21.72 kB / 462.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.3438, allocations: 8.797 kB / 462.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007291/0.3445, allocations: 0.5241 MB / 463.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 463.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009365/0.3455, allocations: 171.4 kB / 463.5 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.3457, allocations: 129.7 kB / 463.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3467, allocations: 469.5 kB / 464.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3467, allocations: 5.156 kB / 464.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.3471, allocations: 234.6 kB / 464.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009726/0.3481, allocations: 194.6 kB / 464.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.3507, allocations: 1.524 MB / 466.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.3512, allocations: 0.9519 MB / 467 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.3514, allocations: 53.06 kB / 467.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3514, allocations: 1.156 kB / 467.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Templates: time 0.02185/0.3732, allocations: 13.99 MB / 481.1 MB, free: 6.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.693461752991425]