Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009932/0.0009933, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.03958/0.03958, allocations: 8.921 MB / 25.1 MB, free: 3.684 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.368/1.368, allocations: 225.7 MB / 253.7 MB, free: 5.191 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.0007221/0.0007222, allocations: 98.12 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8 kB / 370.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 52.56 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0006178/0.2659, allocations: 232.8 kB / 423.1 MB, free: 47.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2673, allocations: 1.056 MB / 424.1 MB, free: 46.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.2673, allocations: 0 / 424.1 MB, free: 46.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.2676, allocations: 25.91 kB / 424.1 MB, free: 46.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.2677, allocations: 22.48 kB / 424.2 MB, free: 46.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.555e-06/0.2677, allocations: 0 / 424.2 MB, free: 46.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.2677, allocations: 22.48 kB / 424.2 MB, free: 46.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.2678, allocations: 3.5 kB / 424.2 MB, free: 46.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2679, allocations: 27.23 kB / 424.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.2681, allocations: 25.25 kB / 424.2 MB, free: 46.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2681, allocations: 1.219 kB / 424.2 MB, free: 46.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.2681, allocations: 2.812 kB / 424.3 MB, free: 46.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2683, allocations: 69.06 kB / 424.3 MB, free: 46.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.2683, allocations: 51.94 kB / 424.4 MB, free: 46.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.628e-05/0.2684, allocations: 48.73 kB / 424.4 MB, free: 46.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2684, allocations: 4 kB / 424.4 MB, free: 46.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2684, allocations: 0 / 424.4 MB, free: 46.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.2684, allocations: 0.6875 kB / 424.4 MB, free: 46.86 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004022/0.2688, allocations: 389.5 kB / 424.8 MB, free: 46.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2689, allocations: 10.12 kB / 424.8 MB, free: 46.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.2689, allocations: 86.28 kB / 424.9 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2691, allocations: 304 kB / 425.2 MB, free: 46.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2691, allocations: 150.9 kB / 425.3 MB, free: 45.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.2692, allocations: 153.9 kB / 425.5 MB, free: 45.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.334e-05/0.2692, allocations: 106 kB / 425.6 MB, free: 45.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2692, allocations: 77.44 kB / 425.7 MB, free: 45.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.2693, allocations: 150.6 kB / 425.8 MB, free: 45.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.2693, allocations: 152.6 kB / 426 MB, free: 45.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.2693, allocations: 156.2 kB / 426.1 MB, free: 45.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.2696, allocations: 481.2 kB / 426.6 MB, free: 44.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.2696, allocations: 172.4 kB / 426.8 MB, free: 44.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.2696, allocations: 91.27 kB / 426.8 MB, free: 44.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2697, allocations: 75.28 kB / 426.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2697, allocations: 112 kB / 427 MB, free: 44.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2697, allocations: 0 / 427 MB, free: 44.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.35e-05/0.2698, allocations: 39.98 kB / 427.1 MB, free: 44.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.2698, allocations: 129.2 kB / 427.2 MB, free: 44.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.27, allocations: 230.7 kB / 427.4 MB, free: 43.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.27, allocations: 25.7 kB / 427.4 MB, free: 43.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2701, allocations: 120.3 kB / 427.6 MB, free: 43.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2701, allocations: 1.094 kB / 427.6 MB, free: 43.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.2701, allocations: 4 kB / 427.6 MB, free: 43.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.2702, allocations: 324.4 kB / 427.9 MB, free: 43.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.2702, allocations: 0 / 427.9 MB, free: 43.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.2702, allocations: 0 / 427.9 MB, free: 43.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.448e-05/0.2702, allocations: 76.34 kB / 428 MB, free: 43.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.2702, allocations: 75.28 kB / 428 MB, free: 43.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.073e-05/0.2703, allocations: 46.11 kB / 428.1 MB, free: 43.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2703, allocations: 84.62 kB / 428.2 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2703, allocations: 81.05 kB / 428.2 MB, free: 43.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.2704, allocations: 160.1 kB / 428.4 MB, free: 42.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.346e-05/0.2704, allocations: 81.16 kB / 428.5 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.2704, allocations: 151.7 kB / 428.6 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.2705, allocations: 81.41 kB / 428.7 MB, free: 42.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2705, allocations: 76.98 kB / 428.8 MB, free: 42.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 9.012e-05/0.2706, allocations: 287 kB / 429.1 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.2706, allocations: 127.2 kB / 429.2 MB, free: 42.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.2707, allocations: 121.1 kB / 429.3 MB, free: 42.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.2707, allocations: 182.2 kB / 429.5 MB, free: 41.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/0.2708, allocations: 182.2 kB / 429.7 MB, free: 41.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/0.2708, allocations: 182 kB / 429.8 MB, free: 41.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.271, allocations: 443.6 kB / 430.3 MB, free: 41.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.271, allocations: 103.2 kB / 430.4 MB, free: 40.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.271, allocations: 103 kB / 430.5 MB, free: 40.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.659e-05/0.271, allocations: 185.8 kB / 430.6 MB, free: 40.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.2711, allocations: 178 kB / 430.8 MB, free: 40.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.673e-05/0.2711, allocations: 186.3 kB / 431 MB, free: 40.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/0.2711, allocations: 185.5 kB / 431.2 MB, free: 40.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.024e-05/0.2712, allocations: 313.7 kB / 431.5 MB, free: 39.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2712, allocations: 197 kB / 431.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.2713, allocations: 190.2 kB / 431.9 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.2714, allocations: 103.4 kB / 432 MB, free: 39.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2714, allocations: 183 kB / 432.2 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2714, allocations: 108.9 kB / 432.3 MB, free: 38.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.2716, allocations: 169.3 kB / 432.4 MB, free: 38.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2716, allocations: 0 / 432.4 MB, free: 38.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.2718, allocations: 3.25 kB / 432.4 MB, free: 38.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 7.976e-05/0.2719, allocations: 183.1 kB / 432.6 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.658e-05/0.272, allocations: 4 kB / 432.6 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.272, allocations: 0 / 432.6 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.272, allocations: 0.9375 kB / 432.6 MB, free: 38.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2723, allocations: 0.5291 MB / 433.1 MB, free: 38.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.2726, allocations: 316.1 kB / 433.4 MB, free: 37.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2728, allocations: 0.711 MB / 434.2 MB, free: 37.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.397e-05/0.2728, allocations: 5.812 kB / 434.2 MB, free: 37.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.2728, allocations: 8.047 kB / 434.2 MB, free: 37.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2728, allocations: 0 / 434.2 MB, free: 37.23 MB / 330.7 MB Notification: Performance of Templates: time 0.001977/0.2748, allocations: 273.4 kB / 434.4 MB, free: 37.18 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)