Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000577/0.0005773, allocations: 12 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1064, allocations: 44.51 MB / 308.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002963/0.1094, allocations: 1.917 MB / 310.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005388/0.11, allocations: 267.2 kB / 310.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1101, allocations: 7.938 kB / 310.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.904e-05/0.1102, allocations: 35.75 kB / 310.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1105, allocations: 103.8 kB / 310.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1107, allocations: 47.88 kB / 310.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.111, allocations: 219.6 kB / 310.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1112, allocations: 77.56 kB / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1114, allocations: 99.64 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1116, allocations: 127.4 kB / 311.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.1116, allocations: 12 kB / 311.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.1117, allocations: 12 kB / 311.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1118, allocations: 39.84 kB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.1119, allocations: 77.58 kB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1122, allocations: 219.6 kB / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.059e-06/0.1122, allocations: 0 / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.64e-06/0.1122, allocations: 0 / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1122, allocations: 0 / 311.6 MB, free: 13.79 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008771/0.1131, allocations: 0.5301 MB / 312.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1132, allocations: 8.031 kB / 312.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.1132, allocations: 31.62 kB / 312.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1136, allocations: 250.5 kB / 312.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1136, allocations: 20.56 kB / 312.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1137, allocations: 24 kB / 312.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.1143, allocations: 246.6 kB / 312.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1143, allocations: 7.906 kB / 312.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.1143, allocations: 8 kB / 312.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.1144, allocations: 8 kB / 312.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.1148, allocations: 179.8 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1163, allocations: 0.7498 MB / 313.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.1169, allocations: 274.1 kB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1169, allocations: 8 kB / 313.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.117, allocations: 39.12 kB / 313.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.104e-06/0.117, allocations: 0 / 313.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00453/0.1215, allocations: 1.724 MB / 315.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1216, allocations: 81.11 kB / 315.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1218, allocations: 175.3 kB / 315.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1219, allocations: 33.7 kB / 316 MB, free: 9.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.122, allocations: 203 kB / 316.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.1222, allocations: 173.5 kB / 316.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1223, allocations: 12 kB / 316.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1225, allocations: 330.8 kB / 316.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1227, allocations: 101.1 kB / 316.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.123, allocations: 157.5 kB / 316.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1234, allocations: 126.3 kB / 317 MB, free: 7.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-06/0.1234, allocations: 7.938 kB / 317 MB, free: 7.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007561/0.1241, allocations: 350.5 kB / 317.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1242, allocations: 8 kB / 317.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.095e-06/0.1242, allocations: 0 / 317.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1242, allocations: 4 kB / 317.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.1247, allocations: 107.9 kB / 317.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.1247, allocations: 4 kB / 317.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1249, allocations: 8 kB / 317.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.1249, allocations: 16 kB / 317.5 MB, free: 7.422 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.1251, allocations: 149.7 kB / 317.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1252, allocations: 31.62 kB / 317.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.1254, allocations: 37.86 kB / 317.7 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-06/0.1254, allocations: 4 kB / 317.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.788e-06/0.1254, allocations: 4 kB / 317.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.1254, allocations: 11.98 kB / 317.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.1273, allocations: 0.9548 MB / 318.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.1273, allocations: 4 kB / 318.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.1279, allocations: 99.83 kB / 318.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.326e-06/0.1279, allocations: 4 kB / 318.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.1279, allocations: 4 kB / 318.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.167e-06/0.1279, allocations: 4 kB / 318.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-06/0.128, allocations: 0 / 318.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.129, allocations: 0.6433 MB / 319.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/0.1291, allocations: 104.8 kB / 319.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.1292, allocations: 8 kB / 319.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1295, allocations: 12 kB / 319.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1295, allocations: 23.97 kB / 319.6 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.1296, allocations: 11.98 kB / 319.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1297, allocations: 135.4 kB / 319.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.1297, allocations: 3.938 kB / 319.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005271/0.1303, allocations: 80 kB / 319.8 MB, free: 4.992 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.1304, allocations: 111.2 kB / 320 MB, free: 4.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.1311, allocations: 290.6 kB / 320.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.1311, allocations: 4 kB / 320.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1314, allocations: 155.9 kB / 320.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.132, allocations: 51.92 kB / 320.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.1346, allocations: 1.236 MB / 321.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.1351, allocations: 0.7884 MB / 322.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1353, allocations: 27.44 kB / 322.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of SimCode: time 1.793e-06/0.1353, allocations: 0 / 322.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of Templates: time 0.007278/0.1426, allocations: 3.576 MB / 326.1 MB, free: 14.68 MB / 282.7 MB