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.SignConvention.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.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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.0848, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002514/0.08735, allocations: 1.654 MB / 310 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003888/0.08776, allocations: 163.4 kB / 310.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.08789, allocations: 4 kB / 310.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.08796, allocations: 27.78 kB / 310.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.08813, allocations: 55.81 kB / 310.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.08829, allocations: 31.95 kB / 310.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.08854, allocations: 123.8 kB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.08871, allocations: 53.83 kB / 310.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.08881, allocations: 55.73 kB / 310.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.08894, allocations: 67.69 kB / 310.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.08899, allocations: 8 kB / 310.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.08903, allocations: 8 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.08907, allocations: 19.92 kB / 310.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.08915, allocations: 65.58 kB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.08935, allocations: 131.9 kB / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.814e-06/0.08937, allocations: 0 / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.72e-06/0.08938, allocations: 0 / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.716e-06/0.0894, allocations: 0 / 310.8 MB, free: 14.55 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.000637/0.09004, allocations: 438.8 kB / 311.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.09009, allocations: 12.03 kB / 311.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.09016, allocations: 23.72 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.09044, allocations: 218.7 kB / 311.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.09049, allocations: 19.95 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.09054, allocations: 12 kB / 311.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.09094, allocations: 180.1 kB / 311.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.09097, allocations: 3.938 kB / 311.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.09101, allocations: 8 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-06/0.09103, allocations: 4 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.09129, allocations: 107.9 kB / 311.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.09276, allocations: 0.7717 MB / 312.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.09303, allocations: 111.8 kB / 312.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.09306, allocations: 4.031 kB / 312.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.0931, allocations: 38.69 kB / 312.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.53e-06/0.09312, allocations: 0 / 312.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004125/0.09354, allocations: 137.4 kB / 312.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.09363, allocations: 106.8 kB / 313 MB, free: 12.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.09392, allocations: 211 kB / 313.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.09396, allocations: 25.7 kB / 313.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.09412, allocations: 210.3 kB / 313.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.09418, allocations: 47.3 kB / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.09421, allocations: 8 kB / 313.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.09439, allocations: 318.8 kB / 313.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.0945, allocations: 36.45 kB / 313.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.09469, allocations: 137.2 kB / 313.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.09487, allocations: 63.92 kB / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-06/0.09489, allocations: 3.938 kB / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004221/0.09532, allocations: 193.7 kB / 314.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.09535, allocations: 11.98 kB / 314.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.844e-06/0.09538, allocations: 8.344 kB / 314.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.09541, allocations: 7.953 kB / 314.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.09562, allocations: 47.92 kB / 314.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.09565, allocations: 4 kB / 314.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.09581, allocations: 27.69 kB / 314.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.09584, allocations: 12 kB / 314.3 MB, free: 10.72 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.0001441/0.09599, allocations: 129.8 kB / 314.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.09611, allocations: 23.7 kB / 314.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.09618, allocations: 17 kB / 314.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-06/0.0962, allocations: 11.95 kB / 314.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-06/0.09622, allocations: 0 / 314.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-06/0.09623, allocations: 0 / 314.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.09684, allocations: 253.4 kB / 314.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-06/0.09686, allocations: 4 kB / 314.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.09708, allocations: 31.92 kB / 314.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.387e-06/0.0971, allocations: 0 / 314.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.09713, allocations: 8.25 kB / 314.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.047e-06/0.09714, allocations: 0 / 314.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.277e-06/0.09716, allocations: 7.953 kB / 314.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.09761, allocations: 397.7 kB / 315.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.09771, allocations: 88.92 kB / 315.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.09777, allocations: 8.062 kB / 315.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.09798, allocations: 0 / 315.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.09802, allocations: 15.94 kB / 315.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.09805, allocations: 4 kB / 315.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.09825, allocations: 156.6 kB / 315.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.09827, allocations: 0 / 315.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00051/0.09878, allocations: 40 kB / 315.5 MB, free: 9.457 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.000123/0.09892, allocations: 99.19 kB / 315.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.0992, allocations: 108.3 kB / 315.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.914e-06/0.09922, allocations: 4.125 kB / 315.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.09931, allocations: 39.92 kB / 315.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.09975, allocations: 19.98 kB / 315.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1011, allocations: 0.791 MB / 316.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1016, allocations: 0.7322 MB / 317.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.1017, allocations: 19.44 kB / 317.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of SimCode: time 1.391e-06/0.1017, allocations: 0 / 317.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Templates: time 0.004502/0.1062, allocations: 1.984 MB / 319.3 MB, free: 5.578 MB / 266.7 MB