Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 180 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007695/0.0007694, allocations: 90.23 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2075/0.2075, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 58.86 MB / 491.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005472/0.1077, allocations: 228.7 kB / 491.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.1115, allocations: 3.301 MB / 494.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-06/0.1115, allocations: 4 kB / 494.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.04e-06/0.1115, allocations: 3.938 kB / 494.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.393e-06/0.1116, allocations: 0 / 494.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1135, allocations: 0.5108 MB / 495.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.594e-05/0.1135, allocations: 12 kB / 495.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.1136, allocations: 0 / 495.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.1137, allocations: 15.92 kB / 495.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1137, allocations: 7.984 kB / 495.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-06/0.1137, allocations: 0 / 495.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009229/0.1147, allocations: 0.5657 MB / 495.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.1147, allocations: 0 / 495.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.1147, allocations: 25.7 kB / 495.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1153, allocations: 427.4 kB / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1153, allocations: 0 / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1153, allocations: 0 / 496.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1153, allocations: 3.938 kB / 496.3 MB, free: 2.773 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003956/0.1157, allocations: 413.3 kB / 496.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1158, allocations: 16.03 kB / 496.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.1159, allocations: 80.22 kB / 496.7 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.116, allocations: 239.7 kB / 497 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.1161, allocations: 150.9 kB / 497.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.1162, allocations: 154.7 kB / 497.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.347e-05/0.1162, allocations: 108.9 kB / 497.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.1163, allocations: 79.28 kB / 497.5 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.1163, allocations: 150.6 kB / 497.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.826e-05/0.1164, allocations: 154.6 kB / 497.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.1165, allocations: 154.5 kB / 497.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1168, allocations: 442 kB / 498.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.1169, allocations: 169.1 kB / 498.5 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.1169, allocations: 88.08 kB / 498.6 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.117, allocations: 75.28 kB / 498.7 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.1171, allocations: 143.5 kB / 498.8 MB, free: 28 kB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1171, allocations: 0 / 498.8 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.1172, allocations: 29.7 kB / 498.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.1173, allocations: 156.4 kB / 499 MB, free: 15.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.1173, allocations: 89.86 kB / 499.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1173, allocations: 29.64 kB / 499.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.1174, allocations: 84.14 kB / 499.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1174, allocations: 0 / 499.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1174, allocations: 0 / 499.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1175, allocations: 310.8 kB / 499.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-06/0.1175, allocations: 0 / 499.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.1176, allocations: 8 kB / 499.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.1176, allocations: 75.28 kB / 499.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.1176, allocations: 83.22 kB / 499.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.895e-05/0.1177, allocations: 33.62 kB / 499.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.1178, allocations: 83.28 kB / 499.8 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.1178, allocations: 75.28 kB / 499.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.634e-05/0.1179, allocations: 154.5 kB / 500 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.578e-05/0.1179, allocations: 79.31 kB / 0.4884 GB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.828e-05/0.118, allocations: 154.5 kB / 0.4885 GB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.118, allocations: 79.28 kB / 0.4886 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1181, allocations: 79.44 kB / 0.4887 GB, free: 14.39 MB / 346.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 0.0001367/0.1182, allocations: 264.4 kB / 0.4889 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.1183, allocations: 116.9 kB / 0.489 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.1183, allocations: 108.2 kB / 0.4891 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/0.1184, allocations: 184.2 kB / 0.4893 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.624e-05/0.1185, allocations: 176.3 kB / 0.4895 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/0.1185, allocations: 184.2 kB / 0.4896 GB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1187, allocations: 401.2 kB / 0.49 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/0.1188, allocations: 108.9 kB / 0.4901 GB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1188, allocations: 104.9 kB / 0.4902 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.998e-05/0.1189, allocations: 180.2 kB / 0.4904 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.1189, allocations: 184.3 kB / 0.4906 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-05/0.119, allocations: 184.1 kB / 0.4907 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-05/0.1191, allocations: 180.3 kB / 0.4909 GB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1192, allocations: 307.8 kB / 0.4912 GB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1193, allocations: 186 kB / 0.4914 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.1193, allocations: 184.2 kB / 0.4916 GB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1194, allocations: 101 kB / 0.4917 GB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1195, allocations: 188.2 kB / 0.4918 GB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1195, allocations: 109 kB / 0.4919 GB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.1195, allocations: 79.22 kB / 0.492 GB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1195, allocations: 0 / 0.492 GB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.12, allocations: 132 kB / 0.4921 GB, free: 10.58 MB / 346.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.0008065/0.1209, allocations: 425.1 kB / 0.4926 GB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.548e-05/0.1209, allocations: 0 / 0.4926 GB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1209, allocations: 3.938 kB / 0.4926 GB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1209, allocations: 0 / 0.4926 GB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1213, allocations: 0.5302 MB / 0.4931 GB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001295/0.1214, allocations: 146 kB / 0.4932 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1216, allocations: 0.6692 MB / 0.4939 GB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.153e-06/0.1217, allocations: 3.938 kB / 0.4939 GB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-06/0.1217, allocations: 7.438 kB / 0.4939 GB, free: 8.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1217, allocations: 0 / 0.4939 GB, free: 8.758 MB / 346.7 MB Notification: Performance of Templates: time 0.006435/0.1281, allocations: 3.068 MB / 0.4969 GB, free: 5.688 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)