Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008709/0.0008711, allocations: 180.9 kB / 15.43 MB, free: 6.211 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.01084/0.01084, allocations: 2.986 MB / 19.16 MB, free: 2.664 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.343/1.343, allocations: 225.7 MB / 246.5 MB, free: 6.379 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.0009324/0.0009325, allocations: 100.3 kB / 298.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 8 kB / 360.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3052, allocations: 51.34 MB / 412.1 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002373/0.3077, allocations: 1.387 MB / 413.4 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.3107, allocations: 2.029 MB / 415.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.3108, allocations: 4 kB / 415.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.3111, allocations: 31.84 kB / 415.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.3115, allocations: 99.66 kB / 415.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.3119, allocations: 63.94 kB / 415.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.312, allocations: 87.7 kB / 415.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3121, allocations: 17.03 kB / 415.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.3122, allocations: 27.86 kB / 415.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3124, allocations: 36.69 kB / 415.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3125, allocations: 4 kB / 415.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.3128, allocations: 188.7 kB / 416 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3129, allocations: 15.92 kB / 416 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.313, allocations: 65.44 kB / 416.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.3134, allocations: 234.5 kB / 416.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3134, allocations: 0 / 416.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3135, allocations: 0.9062 kB / 416.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3135, allocations: 0 / 416.3 MB, free: 22.57 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.0005362/0.314, allocations: 449 kB / 416.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3141, allocations: 8.031 kB / 416.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3141, allocations: 8.844 kB / 416.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3143, allocations: 208 kB / 417 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3144, allocations: 8.312 kB / 417 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3144, allocations: 4.125 kB / 417 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.3147, allocations: 107.4 kB / 417.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3147, allocations: 0 / 417.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3147, allocations: 0 / 417.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3147, allocations: 4 kB / 417.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.315, allocations: 67.89 kB / 417.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3154, allocations: 325.8 kB / 417.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.3157, allocations: 109.2 kB / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3159, allocations: 65.73 kB / 417.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3159, allocations: 3.938 kB / 417.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.3162, allocations: 146.8 kB / 417.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.3162, allocations: 0 / 417.8 MB, free: 20.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006255/0.3169, allocations: 251.1 kB / 418.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3169, allocations: 114.8 kB / 418.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3171, allocations: 137.8 kB / 418.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3171, allocations: 29.7 kB / 418.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.3172, allocations: 92.12 kB / 418.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3172, allocations: 31.56 kB / 418.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/0.3172, allocations: 3.938 kB / 418.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.3173, allocations: 322.8 kB / 418.8 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3175, allocations: 51.92 kB / 418.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3176, allocations: 61.77 kB / 418.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3179, allocations: 157.1 kB / 419 MB, free: 19.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3179, allocations: 0 / 419 MB, free: 19.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004202/0.3183, allocations: 211.2 kB / 419.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.3184, allocations: 38.64 kB / 419.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3184, allocations: 0 / 419.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3184, allocations: 0 / 419.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.3185, allocations: 19.92 kB / 419.3 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3186, allocations: 0 / 419.3 MB, free: 19.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3187, allocations: 15.84 kB / 419.3 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3187, allocations: 7.938 kB / 419.3 MB, free: 19.26 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,$PRE.component.timeTable.nextEvent,component.timeTable.nextEvent,component.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 0.0001245/0.3188, allocations: 162.4 kB / 419.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.3189, allocations: 15.89 kB / 419.5 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3189, allocations: 8.375 kB / 419.5 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3189, allocations: 4 kB / 419.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.319, allocations: 3.938 kB / 419.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.319, allocations: 0 / 419.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3192, allocations: 213.5 kB / 419.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3192, allocations: 0 / 419.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.3193, allocations: 11.98 kB / 419.7 MB, free: 18.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3193, allocations: 8 kB / 419.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3193, allocations: 0 / 419.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3193, allocations: 4 kB / 419.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3193, allocations: 3.938 kB / 419.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3198, allocations: 263.4 kB / 420 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3199, allocations: 97 kB / 420.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3199, allocations: 4 kB / 420.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.32, allocations: 4 kB / 420.1 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.3201, allocations: 12.31 kB / 420.1 MB, free: 18.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3202, allocations: 7.938 kB / 420.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.922e-05/0.3202, allocations: 103.3 kB / 420.2 MB, free: 18.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3203, allocations: 0 / 420.2 MB, free: 18.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00047/0.3207, allocations: 79.89 kB / 420.3 MB, free: 18.16 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.001226/0.322, allocations: 0.5085 MB / 420.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.3224, allocations: 203.3 kB / 421 MB, free: 17.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3224, allocations: 0 / 421 MB, free: 17.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.3226, allocations: 147.3 kB / 421.2 MB, free: 17.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.323, allocations: 19.98 kB / 421.2 MB, free: 17.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.3235, allocations: 283.8 kB / 421.5 MB, free: 17.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.3237, allocations: 0.6965 MB / 422.1 MB, free: 16.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.3238, allocations: 4.312 kB / 422.2 MB, free: 16.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3238, allocations: 15.44 kB / 422.2 MB, free: 16.33 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3238, allocations: 0 / 422.2 MB, free: 16.33 MB / 298.7 MB Notification: Performance of Templates: time 0.007255/0.3311, allocations: 2.535 MB / 424.7 MB, free: 13.8 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1)