Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001286/0.001286, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001316/0.001316, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.41/1.41, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 47.92 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09951, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01021/0.1097, allocations: 8.003 MB / 427 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1144, allocations: 2.629 MB / 429.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.1149, allocations: 23.94 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.1162, allocations: 0.5204 MB / 430.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000914/0.1171, allocations: 432.8 kB / 430.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1176, allocations: 219.6 kB / 430.8 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.119, allocations: 1.234 MB / 432 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.1195, allocations: 377.9 kB / 432.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.1201, allocations: 486.1 kB / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.1208, allocations: 0.5134 MB / 433.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1209, allocations: 119.9 kB / 433.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1212, allocations: 148 kB / 433.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.1214, allocations: 231.2 kB / 433.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.122, allocations: 0.5753 MB / 434.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.1236, allocations: 1.459 MB / 435.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1236, allocations: 0 / 435.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1236, allocations: 0 / 435.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1237, allocations: 0 / 435.9 MB, free: 11.05 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.002258/0.1259, allocations: 1.339 MB / 437.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1259, allocations: 11.89 kB / 437.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.1264, allocations: 164.1 kB / 437.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1275, allocations: 0.646 MB / 438 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.1275, allocations: 58.38 kB / 438.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1277, allocations: 91.89 kB / 438.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1291, allocations: 0.8184 MB / 439 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.1291, allocations: 4 kB / 439 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.1292, allocations: 32 kB / 439 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.1292, allocations: 23.98 kB / 439.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.1304, allocations: 0.5465 MB / 439.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.135, allocations: 3.556 MB / 443.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.1356, allocations: 240.8 kB / 443.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.1358, allocations: 109.4 kB / 443.5 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1359, allocations: 4 kB / 443.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.1359, allocations: 38.56 kB / 443.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.1359, allocations: 0 / 443.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002288/0.1382, allocations: 1.084 MB / 444.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.1383, allocations: 93.03 kB / 444.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1393, allocations: 0.7547 MB / 445.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1394, allocations: 33.7 kB / 445.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.1398, allocations: 0.5306 MB / 446 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1399, allocations: 115 kB / 446.2 MB, free: 284 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.1401, allocations: 122.2 kB / 446.3 MB, free: 156 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1776/0.3177, allocations: 381.8 kB / 446.7 MB, free: 29.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.3181, allocations: 128.2 kB / 446.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.3185, allocations: 447.6 kB / 447.2 MB, free: 29.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.3191, allocations: 0.6098 MB / 447.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3191, allocations: 5.969 kB / 447.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001139/0.3203, allocations: 0.6457 MB / 448.5 MB, free: 29.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3203, allocations: 10.19 kB / 448.5 MB, free: 29.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3203, allocations: 14.72 kB / 448.5 MB, free: 29.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.3205, allocations: 40.84 kB / 448.5 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.3209, allocations: 150.6 kB / 448.7 MB, free: 29.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007426/0.3217, allocations: 1.384 MB / 450.1 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.3222, allocations: 44.47 kB / 450.1 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3222, allocations: 40.25 kB / 450.2 MB, free: 27.7 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.0003003/0.3225, allocations: 238.5 kB / 450.4 MB, free: 27.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.3226, allocations: 81.38 kB / 450.5 MB, free: 27.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/0.3232, allocations: 331.8 kB / 450.8 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3232, allocations: 4.375 kB / 450.8 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3232, allocations: 3.938 kB / 450.8 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3232, allocations: 1.172 kB / 450.8 MB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3246, allocations: 1.12 MB / 451.9 MB, free: 27.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3246, allocations: 3.938 kB / 451.9 MB, free: 27.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.3249, allocations: 59.86 kB / 452 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.325, allocations: 23.36 kB / 452 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.325, allocations: 9.375 kB / 452 MB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005825/0.3256, allocations: 1.371 MB / 453.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3256, allocations: 0.6875 kB / 453.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.3263, allocations: 0.5764 MB / 454 MB, free: 25.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3265, allocations: 181.2 kB / 454.1 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.3266, allocations: 14.12 kB / 454.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.3269, allocations: 21.72 kB / 454.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.327, allocations: 27.88 kB / 454.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.327, allocations: 12.69 kB / 454.2 MB, free: 25.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006304/0.3276, allocations: 0.5222 MB / 454.7 MB, free: 25.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3276, allocations: 0 / 454.7 MB, free: 25.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006513/0.3283, allocations: 174 kB / 454.9 MB, free: 25.34 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.0001782/0.3284, allocations: 125.6 kB / 455 MB, free: 25.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.3293, allocations: 471.5 kB / 455.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3293, allocations: 1 kB / 455.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.3296, allocations: 244.3 kB / 455.7 MB, free: 24.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.3305, allocations: 186.5 kB / 455.9 MB, free: 24.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3328, allocations: 1.517 MB / 457.4 MB, free: 24.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3332, allocations: 0.9507 MB / 458.4 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3334, allocations: 54.97 kB / 458.4 MB, free: 23.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3334, allocations: 4 kB / 458.4 MB, free: 23.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01823/0.3516, allocations: 13.99 MB / 472.4 MB, free: 18.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.633396635064855]