Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.002109/0.002109, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.002756/0.002756, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.505/1.505, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.76e-05, allocations: 2.312 kB / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001273/0.001301, allocations: 0.4986 MB / 347.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.002917, allocations: 1.366 MB / 348.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.002944, allocations: 0 / 348.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.002959, allocations: 0 / 348.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.003155, allocations: 11.92 kB / 348.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.004208, allocations: 282.4 kB / 349.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.941e-05/0.004258, allocations: 4 kB / 349.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.879e-05/0.004286, allocations: 7.984 kB / 349.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.004317, allocations: 0 / 349.1 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.004377, allocations: 7.938 kB / 349.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.004387, allocations: 4 kB / 349.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.008721, allocations: 0.9952 MB / 350.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.008729, allocations: 0 / 350.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.008755, allocations: 4 kB / 350.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.009032, allocations: 215.4 kB / 350.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.009036, allocations: 0 / 350.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.009037, allocations: 0 / 350.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.009041, allocations: 0 / 350.3 MB, free: 6.574 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003122/0.009353, allocations: 311.7 kB / 350.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.009391, allocations: 8.031 kB / 350.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.009446, allocations: 4.938 kB / 350.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.009517, allocations: 117.7 kB / 350.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.009529, allocations: 384 / 350.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.009537, allocations: 384 / 350.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.009615, allocations: 59.97 kB / 350.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.009623, allocations: 192 / 350.8 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.00963, allocations: 4.125 kB / 350.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.009635, allocations: 0 / 350.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.009657, allocations: 29.7 kB / 350.8 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.092e-05/0.009738, allocations: 101.3 kB / 350.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.009784, allocations: 48.22 kB / 351 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.009802, allocations: 34.62 kB / 351 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.009811, allocations: 0 / 351 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.009839, allocations: 56.27 kB / 351 MB, free: 5.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.00984, allocations: 4 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001755/0.01002, allocations: 126.8 kB / 351.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.01004, allocations: 81.05 kB / 351.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.361e-05/0.01008, allocations: 93.86 kB / 351.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.01009, allocations: 29.64 kB / 351.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.0101, allocations: 80.14 kB / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.01011, allocations: 0 / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.01013, allocations: 21.7 kB / 351.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.606e-05/0.01017, allocations: 310.8 kB / 351.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.01018, allocations: 29.95 kB / 351.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.01019, allocations: 29.7 kB / 351.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.01022, allocations: 64.27 kB / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01022, allocations: 0 / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.447e-05/0.01028, allocations: 89.09 kB / 352 MB, free: 4.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.01031, allocations: 33.7 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.01031, allocations: 0 / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01033, allocations: 0 / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.01033, allocations: 7.875 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01033, allocations: 3.938 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.01035, allocations: 4.094 kB / 352 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01035, allocations: 7.984 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.01039, allocations: 135.5 kB / 352.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.0104, allocations: 8 kB / 352.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-06/0.01041, allocations: 3.156 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.01041, allocations: 0 / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01042, allocations: 3.938 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.01042, allocations: 0 / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.942e-05/0.01046, allocations: 105.3 kB / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.01046, allocations: 0 / 352.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.01046, allocations: 4 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01046, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.01047, allocations: 0 / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01047, allocations: 4 kB / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01047, allocations: 0 / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.453e-05/0.01054, allocations: 124.4 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-06/0.01055, allocations: 7.953 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.01056, allocations: 0 / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.01057, allocations: 0 / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.01058, allocations: 3.938 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.01059, allocations: 4 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.502e-05/0.0106, allocations: 79.31 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.01088, allocations: 67.8 kB / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008075/0.01168, allocations: 349.7 kB / 352.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.01177, allocations: 114.8 kB / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01177, allocations: 0 / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.01179, allocations: 85.11 kB / 353.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.01193, allocations: 0 / 353.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.01211, allocations: 126.3 kB / 353.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.599e-05/0.01214, allocations: 51.36 kB / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.009e-06/0.01214, allocations: 0 / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.01215, allocations: 12.5 kB / 353.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01215, allocations: 4.125 kB / 353.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of Templates: time 0.003944/0.0161, allocations: 1.662 MB / 355 MB, free: 1.457 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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: 4.907881979946978]