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.001405/0.001405, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.003301/0.003301, allocations: 172 kB / 23.22 MB, free: 4.887 MB / 14.72 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.652/1.652, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.2646/0.2646, allocations: 32.38 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] 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.664e-06/1.664e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.283e-05, allocations: 2.281 kB / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001613/0.001646, allocations: 0.4911 MB / 407.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.003881, allocations: 1.354 MB / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.003906, allocations: 0 / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.003918, allocations: 0 / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.004134, allocations: 15.86 kB / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.00533, allocations: 262.6 kB / 409.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.005391, allocations: 11.92 kB / 409.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.005425, allocations: 0 / 409.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.005464, allocations: 4 kB / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.00552, allocations: 0 / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.005529, allocations: 0 / 409.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.009741, allocations: 0.7116 MB / 410.2 MB, free: 280 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.009756, allocations: 3.938 kB / 410.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.009785, allocations: 4 kB / 410.2 MB, free: 272 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.01022, allocations: 219.5 kB / 410.4 MB, free: 52 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.01022, allocations: 0 / 410.4 MB, free: 52 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01022, allocations: 0 / 410.4 MB, free: 52 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.01023, allocations: 0 / 410.4 MB, free: 52 kB / 334.1 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.0005419/0.01077, allocations: 315.6 kB / 410.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.01082, allocations: 8.031 kB / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.01086, allocations: 0.9375 kB / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.01101, allocations: 117.7 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.01103, allocations: 384 / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.01104, allocations: 384 / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.01118, allocations: 59.97 kB / 410.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.01119, allocations: 4.188 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.0112, allocations: 8.109 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01121, allocations: 0 / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.01125, allocations: 29.7 kB / 410.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.01137, allocations: 97.31 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.01146, allocations: 52.25 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.01149, allocations: 34.62 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.0115, allocations: 0 / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.01157, allocations: 56.27 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.01157, allocations: 0 / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002494/0.01182, allocations: 126.8 kB / 411.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.01189, allocations: 81.05 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.01199, allocations: 97.8 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01201, allocations: 29.64 kB / 411.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.01205, allocations: 84.12 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.01207, allocations: 4 kB / 411.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.0121, allocations: 13.72 kB / 411.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.01226, allocations: 310.8 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.01229, allocations: 25.7 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.01231, allocations: 33.95 kB / 412 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.321e-05/0.01237, allocations: 64.27 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01238, allocations: 0 / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.01248, allocations: 89.09 kB / 412.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.01252, allocations: 29.7 kB / 412.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01252, allocations: 4 kB / 412.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01254, allocations: 0 / 412.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.01254, allocations: 7.875 kB / 412.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01255, allocations: 3.984 kB / 412.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.01256, allocations: 96 / 412.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.01257, allocations: 7.984 kB / 412.2 MB, free: 14.02 MB / 350.1 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 0.0001031/0.01268, allocations: 139.5 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.01269, allocations: 3.953 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.01271, allocations: 3.156 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01271, allocations: 4 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01272, allocations: 3.938 kB / 412.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01272, allocations: 3.938 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.579e-05/0.0128, allocations: 97.31 kB / 412.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01281, allocations: 0 / 412.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01281, allocations: 4 kB / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.01281, allocations: 4 kB / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.01281, allocations: 0 / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01282, allocations: 0 / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01282, allocations: 0 / 412.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.01296, allocations: 124.5 kB / 412.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-06/0.01296, allocations: 3.938 kB / 412.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01298, allocations: 0 / 412.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.01299, allocations: 4 kB / 412.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.01301, allocations: 7.938 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.01301, allocations: 0 / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.465e-05/0.01306, allocations: 83.25 kB / 412.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01306, allocations: 0 / 412.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.01337, allocations: 67.8 kB / 412.7 MB, free: 13.39 MB / 350.1 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.0009163/0.01428, allocations: 357.1 kB / 413 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.01443, allocations: 110.8 kB / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01443, allocations: 0 / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.0145, allocations: 85.11 kB / 413.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.01464, allocations: 3.984 kB / 413.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.01492, allocations: 114.6 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.01499, allocations: 55.36 kB / 413.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.957e-06/0.015, allocations: 7.922 kB / 413.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.01502, allocations: 8.5 kB / 413.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.01502, allocations: 4.125 kB / 413.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Templates: time 0.005484/0.0205, allocations: 1.631 MB / 415.1 MB, free: 10.95 MB / 350.1 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: 5.412235487252474]