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.Sensors.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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08942, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002653/0.09212, allocations: 1.557 MB / 310.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.09325, allocations: 0.5 MB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.09337, allocations: 4 kB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.09343, allocations: 15.86 kB / 311.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.09359, allocations: 35.91 kB / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.0938, allocations: 31.92 kB / 311.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.09404, allocations: 107.7 kB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.09422, allocations: 54.12 kB / 311.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09436, allocations: 51.84 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.0945, allocations: 51.77 kB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.09454, allocations: 8 kB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.09459, allocations: 8 kB / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.09463, allocations: 27.86 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.09469, allocations: 49.64 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.09489, allocations: 116 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.0949, allocations: 0 / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.09492, allocations: 4 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.09493, allocations: 0 / 311.7 MB, free: 13.72 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006586/0.09559, allocations: 406.9 kB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.09565, allocations: 15.97 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.09571, allocations: 19.77 kB / 312.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.09595, allocations: 198.8 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.09599, allocations: 16 kB / 312.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.09606, allocations: 16 kB / 312.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.09646, allocations: 133.6 kB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.0965, allocations: 0 / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.09654, allocations: 11.94 kB / 312.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.09655, allocations: 4 kB / 312.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.0969, allocations: 95.69 kB / 312.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.09801, allocations: 0.5328 MB / 313.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.09826, allocations: 82.55 kB / 313.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.0983, allocations: 0 / 313.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.09834, allocations: 38.52 kB / 313.2 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.09835, allocations: 0 / 313.2 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001358/0.09972, allocations: 0.6032 MB / 313.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.09977, allocations: 51.41 kB / 313.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.09992, allocations: 141.7 kB / 314 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.09995, allocations: 25.7 kB / 314 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.1001, allocations: 132 kB / 314.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1001, allocations: 35.45 kB / 314.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1001, allocations: 4 kB / 314.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1003, allocations: 319 kB / 314.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1004, allocations: 35.97 kB / 314.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1006, allocations: 94.72 kB / 314.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1008, allocations: 55.92 kB / 314.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1008, allocations: 3.953 kB / 314.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004532/0.1013, allocations: 157.3 kB / 314.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1013, allocations: 4 kB / 314.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1013, allocations: 4.047 kB / 314.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1014, allocations: 7.984 kB / 314.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1016, allocations: 48.09 kB / 314.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1017, allocations: 4 kB / 314.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1018, allocations: 4 kB / 314.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1018, allocations: 8 kB / 314.9 MB, free: 10.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001274/0.102, allocations: 125.8 kB / 315.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.102, allocations: 11.86 kB / 315.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.1021, allocations: 20.36 kB / 315.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1021, allocations: 0 / 315.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1021, allocations: 4 kB / 315.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1022, allocations: 85.02 kB / 315.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1022, allocations: 0 / 315.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1023, allocations: 4 kB / 315.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1024, allocations: 7.984 kB / 315.2 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000499/0.1029, allocations: 204.9 kB / 315.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005313/0.1034, allocations: 318.6 kB / 315.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.1036, allocations: 36 kB / 315.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.1037, allocations: 107.3 kB / 315.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of Backend: time 7.62e-07/0.1037, allocations: 0 / 315.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.1042, allocations: 144.2 kB / 316 MB, free: 9.016 MB / 266.7 MB Notification: Performance of SimCode: time 0.001217/0.1054, allocations: 0.937 MB / 316.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of Templates: time 0.00444/0.1098, allocations: 0.8813 MB / 317.8 MB, free: 7.156 MB / 266.7 MB