Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002691/0.002697, allocations: 366.6 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.119/4.119, allocations: 388.9 MB / 405.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005542/0.005542, allocations: 228.7 kB / 451 MB, free: 144.9 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5663/0.5663, allocations: 80.02 MB / 0.5627 GB, free: 19.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006805/0.0006808, allocations: 12 kB / 0.6265 GB, free: 96.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1113, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007249/0.1121, allocations: 220.4 kB / 0.6803 GB, free: 41.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.116, allocations: 1.896 MB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.1161, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1161, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.1161, allocations: 0 / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.1189, allocations: 0.5897 MB / 0.6827 GB, free: 38.9 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.492e-05/0.1189, allocations: 3.984 kB / 0.6827 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.119, allocations: 4 kB / 0.6827 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.119, allocations: 3.938 kB / 0.6827 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.1191, allocations: 4 kB / 0.6827 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-06/0.1191, allocations: 0 / 0.6827 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1208, allocations: 0.62 MB / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-06/0.1208, allocations: 0 / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.1208, allocations: 25.7 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000728/0.1216, allocations: 403.2 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1216, allocations: 0 / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1216, allocations: 4 kB / 0.6838 GB, free: 37.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1216, allocations: 0 / 0.6838 GB, free: 37.83 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004769/0.1221, allocations: 393.1 kB / 0.6841 GB, free: 37.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1222, allocations: 12.03 kB / 0.6842 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.1222, allocations: 3.984 kB / 0.6842 GB, free: 37.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.1223, allocations: 159.1 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1224, allocations: 0 / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1224, allocations: 0 / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.1225, allocations: 41.58 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1225, allocations: 0 / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1225, allocations: 4 kB / 0.6844 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1226, allocations: 0 / 0.6844 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.1226, allocations: 4 kB / 0.6844 GB, free: 37.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1227, allocations: 149.7 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.1228, allocations: 14.58 kB / 0.6845 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.1228, allocations: 4.859 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.1228, allocations: 4.094 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.1229, allocations: 64.2 kB / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.787e-06/0.1229, allocations: 0 / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001959/0.1231, allocations: 75.28 kB / 0.6847 GB, free: 36.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1232, allocations: 77.11 kB / 0.6847 GB, free: 36.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.07e-05/0.1232, allocations: 89.86 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1232, allocations: 25.7 kB / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.1233, allocations: 80.14 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1233, allocations: 0 / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1233, allocations: 0 / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.1234, allocations: 326.9 kB / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.1234, allocations: 0 / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.1234, allocations: 0 / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.1235, allocations: 33.64 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1235, allocations: 3.984 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.864e-05/0.1236, allocations: 55.41 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.1237, allocations: 33.7 kB / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1237, allocations: 0 / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1237, allocations: 4.094 kB / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-06/0.1237, allocations: 0 / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1237, allocations: 3.953 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.1238, allocations: 0 / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1238, allocations: 0 / 0.6854 GB, free: 35.95 MB / 346.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.291e-05/0.1239, allocations: 144.6 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1239, allocations: 0 / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.039e-05/0.1239, allocations: 3.125 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.124, allocations: 4 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.124, allocations: 8 kB / 0.6855 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.124, allocations: 81.06 kB / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1241, allocations: 0 / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.1241, allocations: 0 / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.1241, allocations: 3.984 kB / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000119/0.1242, allocations: 202 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001383/0.1244, allocations: 240.5 kB / 0.686 GB, free: 35.2 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.274e-05/0.1244, allocations: 4 kB / 0.686 GB, free: 35.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.631e-05/0.1245, allocations: 75.28 kB / 0.6861 GB, free: 35.12 MB / 346.7 MB Notification: Performance of Backend: time 1.893e-06/0.1245, allocations: 0 / 0.6861 GB, free: 35.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1262, allocations: 297.4 kB / 0.6864 GB, free: 34.82 MB / 346.7 MB Notification: Performance of SimCode: time 0.000301/0.1265, allocations: 0.5853 MB / 0.6869 GB, free: 34.17 MB / 346.7 MB Notification: Performance of Templates: time 0.01263/0.1391, allocations: 3.832 MB / 0.6907 GB, free: 30.34 MB / 346.7 MB