Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ExternData with version 3.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 175.8 kB / 15.43 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01661/0.01661, allocations: 2.98 MB / 19.16 MB, free: 2.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.7 MB / 246.5 MB, free: 4.664 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 95.27 kB / 298.7 MB, free: 6.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8 kB / 360.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 51.34 MB / 412.1 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.0008982/0.2131, allocations: 480.6 kB / 412.5 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007168/0.2138, allocations: 0.7982 MB / 413.3 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.2139, allocations: 1.312 kB / 413.3 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2141, allocations: 27.86 kB / 413.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.2142, allocations: 19.92 kB / 413.4 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.042e-05/0.2142, allocations: 0.7812 kB / 413.4 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.2142, allocations: 12 kB / 413.4 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.2143, allocations: 4.516 kB / 413.4 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.2143, allocations: 8.438 kB / 413.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2144, allocations: 13.17 kB / 413.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.2144, allocations: 4 kB / 413.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.2145, allocations: 11.94 kB / 413.4 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.2145, allocations: 3.938 kB / 413.4 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.2145, allocations: 40.75 kB / 413.5 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.155e-05/0.2146, allocations: 27.97 kB / 413.5 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2147, allocations: 0 / 413.5 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2147, allocations: 0 / 413.5 MB, free: 25.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.2147, allocations: 0 / 413.5 MB, free: 25.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002341/0.2149, allocations: 326.2 kB / 413.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2149, allocations: 11.97 kB / 413.8 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.215, allocations: 11.69 kB / 413.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.2151, allocations: 172.3 kB / 414 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2151, allocations: 384 / 414 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.2151, allocations: 4.375 kB / 414 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.531e-05/0.2152, allocations: 43.92 kB / 414.1 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.2152, allocations: 8.188 kB / 414.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2152, allocations: 7.922 kB / 414.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2152, allocations: 0 / 414.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.2152, allocations: 0 / 414.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.2154, allocations: 479.5 kB / 414.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.2155, allocations: 181.1 kB / 414.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.2155, allocations: 84.08 kB / 414.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2155, allocations: 75.28 kB / 414.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2156, allocations: 109.8 kB / 415 MB, free: 23.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2156, allocations: 0 / 415 MB, free: 23.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.349e-05/0.2156, allocations: 33.64 kB / 415 MB, free: 23.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2157, allocations: 130.7 kB / 415.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.2157, allocations: 113.8 kB / 415.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.2157, allocations: 25.7 kB / 415.3 MB, free: 23.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.2158, allocations: 84.14 kB / 415.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2158, allocations: 3.984 kB / 415.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2158, allocations: 0 / 415.4 MB, free: 23.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.2158, allocations: 318.8 kB / 415.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.2158, allocations: 0 / 415.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.2158, allocations: 0 / 415.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.132e-05/0.2159, allocations: 79.28 kB / 415.7 MB, free: 23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.2159, allocations: 79.22 kB / 415.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.293e-05/0.2159, allocations: 33.64 kB / 415.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2159, allocations: 79.28 kB / 415.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.216, allocations: 79.28 kB / 416 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.216, allocations: 150.6 kB / 416.2 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-06/0.216, allocations: 79.22 kB / 416.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.216, allocations: 166.6 kB / 416.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.2161, allocations: 91.12 kB / 416.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.2161, allocations: 75.28 kB / 416.6 MB, free: 22.18 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 5.489e-05/0.2162, allocations: 264.3 kB / 416.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.2162, allocations: 108.9 kB / 416.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2162, allocations: 116.5 kB / 417 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.2163, allocations: 180.3 kB / 417.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.2163, allocations: 180.2 kB / 417.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.2163, allocations: 176.3 kB / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2165, allocations: 413.1 kB / 418 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.2165, allocations: 109 kB / 418.1 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.2165, allocations: 105 kB / 418.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/0.2165, allocations: 184.2 kB / 418.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.2166, allocations: 176.3 kB / 418.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/0.2166, allocations: 180.2 kB / 418.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-05/0.2166, allocations: 180.3 kB / 418.9 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.2167, allocations: 319.7 kB / 419.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2167, allocations: 186 kB / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.2168, allocations: 184.2 kB / 419.6 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.2168, allocations: 101 kB / 419.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.2169, allocations: 184.3 kB / 419.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2169, allocations: 108.9 kB / 419.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.2169, allocations: 91.27 kB / 420 MB, free: 18.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2169, allocations: 4 kB / 420 MB, free: 18.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.2172, allocations: 0 / 420 MB, free: 18.47 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.000312/0.2175, allocations: 267.5 kB / 420.3 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.97e-05/0.2176, allocations: 4 kB / 420.3 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2176, allocations: 0 / 420.3 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.2176, allocations: 8 kB / 420.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.2179, allocations: 0.5301 MB / 420.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.2181, allocations: 174 kB / 421 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.373e-05/0.2182, allocations: 0.677 MB / 421.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.2183, allocations: 7.984 kB / 421.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.2183, allocations: 7.438 kB / 421.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2183, allocations: 0 / 421.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of Templates: time 0.002099/0.2204, allocations: 0.5085 MB / 422.2 MB, free: 16.27 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & ./ExternData_ExternData.Examples.TIRTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.TIRTest.pipe 2>&1)