Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.JSONTest.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.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") translateModel(ExternData.Examples.JSONTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.JSONTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, 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.01277/0.01277, 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.445/1.445, 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.0007883/0.0007885, allocations: 95.27 kB / 298.7 MB, free: 6.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 360.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2133, allocations: 51.34 MB / 412.1 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.JSONTest): time 0.001708/0.2151, allocations: 1.404 MB / 413.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2168, allocations: 2.033 MB / 415.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.2168, allocations: 0.5312 kB / 415.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.2171, allocations: 31.86 kB / 415.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.2174, allocations: 105.3 kB / 415.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2176, allocations: 59.88 kB / 415.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.2177, allocations: 82.83 kB / 415.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.2177, allocations: 16.22 kB / 415.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.2178, allocations: 31.86 kB / 415.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.218, allocations: 39.77 kB / 415.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.218, allocations: 4 kB / 415.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.2182, allocations: 183.7 kB / 416 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.2183, allocations: 22.77 kB / 416.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.2184, allocations: 53.5 kB / 416.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.2186, allocations: 215.6 kB / 416.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2186, allocations: 4 kB / 416.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2186, allocations: 3.938 kB / 416.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2186, allocations: 0 / 416.3 MB, free: 22.54 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004021/0.2191, allocations: 445.4 kB / 416.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2191, allocations: 8.031 kB / 416.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.2191, allocations: 12.84 kB / 416.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2193, allocations: 196.1 kB / 417 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2193, allocations: 4.375 kB / 417 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2193, allocations: 12.06 kB / 417 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2195, allocations: 103.4 kB / 417.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2195, allocations: 0 / 417.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2195, allocations: 0 / 417.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2196, allocations: 0 / 417.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.2197, allocations: 59.91 kB / 417.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.22, allocations: 305.7 kB / 417.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.2202, allocations: 97.2 kB / 417.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.2203, allocations: 61.91 kB / 417.6 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2203, allocations: 0 / 417.6 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.2205, allocations: 150.6 kB / 417.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2205, allocations: 0 / 417.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003742/0.2209, allocations: 231.2 kB / 418 MB, free: 20.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2209, allocations: 110.8 kB / 418.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.221, allocations: 133.8 kB / 418.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.221, allocations: 29.7 kB / 418.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.2211, allocations: 92.08 kB / 418.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2211, allocations: 27.61 kB / 418.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.2211, allocations: 0 / 418.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.2212, allocations: 326.8 kB / 418.7 MB, free: 19.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.2212, allocations: 43.98 kB / 418.7 MB, free: 19.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.2213, allocations: 57.56 kB / 418.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2215, allocations: 157.2 kB / 418.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2215, allocations: 0 / 418.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002192/0.2217, allocations: 195.2 kB / 419.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.2217, allocations: 41.69 kB / 419.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2218, allocations: 0 / 419.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2218, allocations: 0 / 419.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.2218, allocations: 15.98 kB / 419.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2218, allocations: 0 / 419.2 MB, free: 19.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2219, allocations: 19.84 kB / 419.2 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.222, allocations: 3.938 kB / 419.2 MB, free: 19.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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 8.015e-05/0.2221, allocations: 167.5 kB / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.2221, allocations: 7.906 kB / 419.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.2221, allocations: 16.36 kB / 419.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2221, allocations: 0 / 419.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2221, allocations: 0 / 419.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2221, allocations: 0 / 419.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.2222, allocations: 201.5 kB / 419.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2222, allocations: 0 / 419.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.2223, allocations: 11.94 kB / 419.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2223, allocations: 4 kB / 419.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2223, allocations: 8 kB / 419.6 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2223, allocations: 3.984 kB / 419.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2223, allocations: 0 / 419.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.2226, allocations: 251.3 kB / 419.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.2226, allocations: 92.95 kB / 419.9 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.2227, allocations: 11.98 kB / 420 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/0.2227, allocations: 4 kB / 420 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2228, allocations: 11.92 kB / 420 MB, free: 18.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2228, allocations: 11.94 kB / 420 MB, free: 18.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.138e-05/0.2229, allocations: 107.8 kB / 420.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2229, allocations: 3.938 kB / 420.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.2233, allocations: 71.98 kB / 420.2 MB, free: 18.26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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.0007913/0.2241, allocations: 462.7 kB / 420.6 MB, free: 17.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.2244, allocations: 191.3 kB / 420.8 MB, free: 17.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2244, allocations: 3.938 kB / 420.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2245, allocations: 139.4 kB / 420.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.2247, allocations: 12 kB / 421 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.2251, allocations: 271.8 kB / 421.2 MB, free: 17.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2253, allocations: 0.7004 MB / 421.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.2253, allocations: 11.98 kB / 421.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2253, allocations: 11.44 kB / 421.9 MB, free: 16.51 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2253, allocations: 0 / 421.9 MB, free: 16.51 MB / 298.7 MB Notification: Performance of Templates: time 0.004473/0.2298, allocations: 2.42 MB / 424.4 MB, free: 14.09 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.JSONTest.makefile (rm -f ExternData_ExternData.Examples.JSONTest.pipe ; mkfifo ExternData_ExternData.Examples.JSONTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.JSONTest.pipe >> ../files/ExternData_ExternData.Examples.JSONTest.sim & ./ExternData_ExternData.Examples.JSONTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.JSONTest.pipe 2>&1)