Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.000513, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09423, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002786/0.09707, allocations: 1.654 MB / 310.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.09752, allocations: 159.5 kB / 310.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.09764, allocations: 7.938 kB / 310.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.676e-05/0.09771, allocations: 23.84 kB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.09791, allocations: 55.86 kB / 311 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.09808, allocations: 27.97 kB / 311 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.09837, allocations: 127.7 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.09858, allocations: 55.55 kB / 311.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.09869, allocations: 55.78 kB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.09883, allocations: 67.69 kB / 311.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.09888, allocations: 8 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.09892, allocations: 8 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.09898, allocations: 27.86 kB / 311.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.09905, allocations: 53.64 kB / 311.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.09926, allocations: 127.9 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09928, allocations: 4 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09929, allocations: 0 / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.0993, allocations: 0 / 311.5 MB, free: 13.89 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007256/0.1, allocations: 446.7 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1001, allocations: 8.031 kB / 312 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.1002, allocations: 23.72 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1005, allocations: 222.7 kB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1005, allocations: 11.95 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.1006, allocations: 19.98 kB / 312.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.101, allocations: 180.1 kB / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.101, allocations: 0 / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.1011, allocations: 11.94 kB / 312.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1011, allocations: 4 kB / 312.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1014, allocations: 95.94 kB / 312.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.103, allocations: 0.7835 MB / 313.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1032, allocations: 115.9 kB / 313.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1033, allocations: 0 / 313.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1033, allocations: 46.62 kB / 313.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.1033, allocations: 0 / 313.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004218/0.1038, allocations: 133.4 kB / 313.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1038, allocations: 106.8 kB / 313.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1041, allocations: 207 kB / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1042, allocations: 29.7 kB / 313.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1043, allocations: 139.9 kB / 314.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.1044, allocations: 47.3 kB / 314.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.1044, allocations: 8 kB / 314.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1046, allocations: 330.8 kB / 314.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1047, allocations: 40.44 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1049, allocations: 132.9 kB / 314.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.1051, allocations: 56.34 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1051, allocations: 4 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004693/0.1056, allocations: 213 kB / 314.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1056, allocations: 8 kB / 314.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1056, allocations: 0 / 314.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1057, allocations: 11.95 kB / 314.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.106, allocations: 44.27 kB / 314.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.106, allocations: 11.94 kB / 314.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1062, allocations: 27.69 kB / 315 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1062, allocations: 11.98 kB / 315 MB, free: 10.1 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001455/0.1064, allocations: 133.8 kB / 315.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.1065, allocations: 15.81 kB / 315.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.1065, allocations: 21 kB / 315.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1066, allocations: 3.984 kB / 315.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.1066, allocations: 7.953 kB / 315.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.1067, allocations: 96.8 kB / 315.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1067, allocations: 8 kB / 315.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.107, allocations: 4 kB / 315.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.107, allocations: 7.984 kB / 315.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006118/0.1076, allocations: 367.5 kB / 315.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005299/0.1082, allocations: 485.1 kB / 316.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.144e-05/0.1083, allocations: 32.05 kB / 316.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1085, allocations: 144.6 kB / 316.3 MB, free: 8.746 MB / 266.7 MB Notification: Performance of Backend: time 6.71e-07/0.1085, allocations: 4 kB / 316.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.1091, allocations: 166.5 kB / 316.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of SimCode: time 0.001921/0.111, allocations: 1.215 MB / 317.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of Templates: time 0.006147/0.1172, allocations: 1.502 MB / 319.2 MB, free: 5.805 MB / 266.7 MB