Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 176.4 kB / 15.43 MB, free: 6.203 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.01201/0.01201, allocations: 2.98 MB / 19.16 MB, free: 2.668 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.346/1.346, allocations: 225.7 MB / 246.5 MB, free: 6.363 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.001046/0.001046, allocations: 96.12 kB / 298.7 MB, free: 6.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005097, allocations: 8 kB / 360.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2338, allocations: 51.34 MB / 412.1 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.001354/0.2352, allocations: 1.21 MB / 413.3 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2364, allocations: 1.446 MB / 414.7 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.2365, allocations: 5.781 kB / 414.7 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.2367, allocations: 31.91 kB / 414.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.2368, allocations: 23.84 kB / 414.8 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.237, allocations: 57.59 kB / 414.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.2371, allocations: 55.73 kB / 414.9 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.2371, allocations: 4 kB / 414.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.2371, allocations: 27.84 kB / 414.9 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2373, allocations: 24.64 kB / 414.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2373, allocations: 0 / 414.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.2374, allocations: 87.5 kB / 415 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.2375, allocations: 19.88 kB / 415 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.2375, allocations: 45.56 kB / 415.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2377, allocations: 113.9 kB / 415.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2377, allocations: 0 / 415.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2377, allocations: 0 / 415.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.2377, allocations: 0 / 415.2 MB, free: 23.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000285/0.238, allocations: 385.1 kB / 415.6 MB, free: 23.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.238, allocations: 12.03 kB / 415.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.2381, allocations: 8.844 kB / 415.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2382, allocations: 184.3 kB / 415.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2382, allocations: 384 / 415.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2382, allocations: 12.36 kB / 415.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2383, allocations: 65.92 kB / 415.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2384, allocations: 0 / 415.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2384, allocations: 0 / 415.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2384, allocations: 0 / 415.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.2384, allocations: 31.98 kB / 415.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.2386, allocations: 177.6 kB / 416.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.756e-05/0.2386, allocations: 46.58 kB / 416.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.2387, allocations: 48.83 kB / 416.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.2387, allocations: 0 / 416.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.2388, allocations: 109 kB / 416.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2389, allocations: 0 / 416.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002626/0.2391, allocations: 191.4 kB / 416.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.2392, allocations: 77.11 kB / 416.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.2392, allocations: 125.8 kB / 416.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.2392, allocations: 30.08 kB / 416.7 MB, free: 22.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.2393, allocations: 88.12 kB / 416.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2393, allocations: 15.81 kB / 416.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.2393, allocations: 0 / 416.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.2394, allocations: 326.7 kB / 417.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.2394, allocations: 31.98 kB / 417.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.2394, allocations: 27.98 kB / 417.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.136e-05/0.2395, allocations: 120.2 kB / 417.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2395, allocations: 0 / 417.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001441/0.2397, allocations: 159.2 kB / 417.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2397, allocations: 42.62 kB / 417.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.2397, allocations: 0 / 417.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2397, allocations: 4 kB / 417.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.2398, allocations: 4 kB / 417.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2398, allocations: 240 / 417.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.2399, allocations: 11.94 kB / 417.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.2399, allocations: 0 / 417.5 MB, free: 21.19 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: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.553e-05/0.24, allocations: 151.5 kB / 417.6 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.24, allocations: 11.84 kB / 417.6 MB, free: 21.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.24, allocations: 12.38 kB / 417.7 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.24, allocations: 3.984 kB / 417.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.24, allocations: 0 / 417.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.24, allocations: 3.938 kB / 417.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.979e-05/0.2401, allocations: 173.6 kB / 417.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2401, allocations: 4 kB / 417.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.2401, allocations: 11.92 kB / 417.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2401, allocations: 0 / 417.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2401, allocations: 8 kB / 417.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2402, allocations: 4.078 kB / 417.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2402, allocations: 7.938 kB / 417.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.2404, allocations: 206.7 kB / 418.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.2404, allocations: 84.95 kB / 418.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.2404, allocations: 15.98 kB / 418.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.2405, allocations: 4 kB / 418.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2405, allocations: 0 / 418.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2405, allocations: 7.938 kB / 418.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.2405, allocations: 103.2 kB / 418.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2406, allocations: 0 / 418.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.2408, allocations: 39.98 kB / 418.3 MB, free: 20.24 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0005586/0.2413, allocations: 313.7 kB / 418.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.2415, allocations: 159.4 kB / 418.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2415, allocations: 0 / 418.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.2416, allocations: 123.4 kB / 418.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2417, allocations: 19.88 kB / 418.9 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.242, allocations: 196.6 kB / 419.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.2421, allocations: 0.6965 MB / 419.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.2422, allocations: 0 / 419.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.2422, allocations: 15.42 kB / 419.8 MB, free: 18.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2422, allocations: 0 / 419.8 MB, free: 18.7 MB / 298.7 MB Notification: Performance of Templates: time 0.00296/0.2452, allocations: 1.369 MB / 421.2 MB, free: 17.35 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.MATTest.makefile (rm -f ExternData_ExternData.Examples.MATTest.pipe ; mkfifo ExternData_ExternData.Examples.MATTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.MATTest.pipe >> ../files/ExternData_ExternData.Examples.MATTest.sim & ./ExternData_ExternData.Examples.MATTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.MATTest.pipe 2>&1)