Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008993/0.0008995, allocations: 177.3 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.0417/0.0417, allocations: 8.922 MB / 25.1 MB, free: 3.703 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.7 MB / 253.7 MB, free: 5.215 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 88.38 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003005, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2908, allocations: 52.55 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001391/0.2923, allocations: 0.9201 MB / 423.8 MB, free: 47.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002057/0.2925, allocations: 57.81 kB / 423.8 MB, free: 47.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.2925, allocations: 0 / 423.8 MB, free: 47.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.481e-05/0.2926, allocations: 5.344 kB / 423.8 MB, free: 47.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2928, allocations: 7.656 kB / 423.8 MB, free: 47.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.204e-05/0.2928, allocations: 10.25 kB / 423.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.2929, allocations: 7.484 kB / 423.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.2929, allocations: 2.641 kB / 423.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.293, allocations: 7.672 kB / 423.9 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.293, allocations: 11.89 kB / 423.9 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.293, allocations: 2.125 kB / 423.9 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.2931, allocations: 1.094 kB / 423.9 MB, free: 47.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.2931, allocations: 5.469 kB / 423.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.2931, allocations: 35.39 kB / 423.9 MB, free: 47.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.699e-05/0.2932, allocations: 14.95 kB / 423.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2932, allocations: 0 / 423.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2932, allocations: 0 / 423.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.2932, allocations: 0.9688 kB / 423.9 MB, free: 47.13 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002841/0.2935, allocations: 323.2 kB / 424.2 MB, free: 46.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2935, allocations: 11.12 kB / 424.3 MB, free: 46.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.2936, allocations: 1.938 kB / 424.3 MB, free: 46.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2937, allocations: 168.8 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2937, allocations: 1.312 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2937, allocations: 2.312 kB / 424.4 MB, free: 46.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.2938, allocations: 42.83 kB / 424.5 MB, free: 46.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2938, allocations: 5.375 kB / 424.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2938, allocations: 3.938 kB / 424.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2939, allocations: 1.719 kB / 424.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.2939, allocations: 7.125 kB / 424.5 MB, free: 46.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.2941, allocations: 168.6 kB / 424.6 MB, free: 46.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.2942, allocations: 38.31 kB / 424.7 MB, free: 46.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.2942, allocations: 16.47 kB / 424.7 MB, free: 46.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2942, allocations: 2.031 kB / 424.7 MB, free: 46.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2942, allocations: 32.58 kB / 424.7 MB, free: 46.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2943, allocations: 0 / 424.7 MB, free: 46.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.2944, allocations: 48.33 kB / 424.8 MB, free: 46.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2944, allocations: 82.83 kB / 424.9 MB, free: 46.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2945, allocations: 106 kB / 425 MB, free: 45.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.2945, allocations: 25.7 kB / 425 MB, free: 45.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.2945, allocations: 90.31 kB / 425.1 MB, free: 45.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.2946, allocations: 14.03 kB / 425.1 MB, free: 45.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.2946, allocations: 0 / 425.1 MB, free: 45.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.2946, allocations: 321.7 kB / 425.4 MB, free: 45.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.2947, allocations: 7.188 kB / 425.4 MB, free: 45.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.2947, allocations: 30.56 kB / 425.4 MB, free: 45.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.2947, allocations: 38.48 kB / 425.5 MB, free: 45.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2947, allocations: 1.312 kB / 425.5 MB, free: 45.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.977e-05/0.2948, allocations: 61.58 kB / 425.5 MB, free: 45.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2949, allocations: 5.922 kB / 425.5 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2949, allocations: 5.031 kB / 425.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2949, allocations: 1.094 kB / 425.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.2949, allocations: 7.906 kB / 425.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2949, allocations: 1.766 kB / 425.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.295, allocations: 1.125 kB / 425.6 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.295, allocations: 2.031 kB / 425.6 MB, free: 45.38 MB / 330.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 (4): * Single equations (assignments): 4 * 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 5.628e-05/0.295, allocations: 126.1 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.2951, allocations: 1.406 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.2951, allocations: 8.375 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2951, allocations: 1.406 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2951, allocations: 1.406 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2951, allocations: 0.6562 kB / 425.7 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2952, allocations: 157.7 kB / 425.9 MB, free: 45.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2952, allocations: 1.375 kB / 425.9 MB, free: 45.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.2953, allocations: 3.891 kB / 425.9 MB, free: 45.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2953, allocations: 5.062 kB / 425.9 MB, free: 45.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2953, allocations: 5.031 kB / 425.9 MB, free: 45.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2953, allocations: 1.641 kB / 425.9 MB, free: 45.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2953, allocations: 0 / 425.9 MB, free: 45.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.2954, allocations: 83.23 kB / 426 MB, free: 44.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.2955, allocations: 79.05 kB / 426 MB, free: 44.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2955, allocations: 5.922 kB / 426 MB, free: 44.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.2955, allocations: 5 kB / 426 MB, free: 44.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.2955, allocations: 1.844 kB / 426 MB, free: 44.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2955, allocations: 1.562 kB / 426 MB, free: 44.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.952e-05/0.2956, allocations: 80.88 kB / 426.1 MB, free: 44.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2956, allocations: 0 / 426.1 MB, free: 44.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.2958, allocations: 7.594 kB / 426.1 MB, free: 44.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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 8.095e-05/0.2959, allocations: 98.31 kB / 426.2 MB, free: 44.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.296, allocations: 26.55 kB / 426.3 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.296, allocations: 1.156 kB / 426.3 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.296, allocations: 4.156 kB / 426.3 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.2961, allocations: 10.8 kB / 426.3 MB, free: 44.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.2964, allocations: 150.7 kB / 426.4 MB, free: 44.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2965, allocations: 0.6811 MB / 427.1 MB, free: 43.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.803e-05/0.2965, allocations: 2.828 kB / 427.1 MB, free: 43.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2966, allocations: 8.781 kB / 427.1 MB, free: 43.83 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2966, allocations: 0 / 427.1 MB, free: 43.83 MB / 330.7 MB Notification: Performance of Templates: time 0.001929/0.2985, allocations: 276.9 kB / 427.4 MB, free: 43.77 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)