Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 177.2 MB / 200.1 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 157.4 kB / 256.6 MB, free: 0.7383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.06586/0.06586, allocations: 6.664 MB / 319.6 MB, free: 12.06 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004722/0.004722, allocations: 83.86 kB / 446.4 MB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4903, allocations: 55.57 MB / 0.4902 GB, free: 76.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001701/0.492, allocations: 0.5208 MB / 0.4907 GB, free: 75.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.4936, allocations: 1.15 MB / 0.4919 GB, free: 75.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.4936, allocations: 0 / 0.4919 GB, free: 75.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.4938, allocations: 10.34 kB / 0.4919 GB, free: 75.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.4939, allocations: 21.22 kB / 0.4919 GB, free: 75.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.83e-05/0.494, allocations: 10.28 kB / 0.4919 GB, free: 75.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.4941, allocations: 37.33 kB / 0.4919 GB, free: 75.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.4942, allocations: 10.2 kB / 0.4919 GB, free: 75.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.4944, allocations: 27.53 kB / 0.492 GB, free: 75.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.4946, allocations: 40.34 kB / 0.492 GB, free: 75.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4946, allocations: 2.875 kB / 0.492 GB, free: 75.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.4946, allocations: 7.531 kB / 0.492 GB, free: 75.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4947, allocations: 40.23 kB / 0.4921 GB, free: 75.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.4947, allocations: 22.06 kB / 0.4921 GB, free: 75.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4949, allocations: 50.98 kB / 0.4921 GB, free: 75.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4949, allocations: 0 / 0.4921 GB, free: 75.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4949, allocations: 0 / 0.4921 GB, free: 75.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4949, allocations: 7.125 kB / 0.4921 GB, free: 75.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006274/0.4955, allocations: 335 kB / 0.4924 GB, free: 74.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4956, allocations: 9.656 kB / 0.4925 GB, free: 74.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.4956, allocations: 15.41 kB / 0.4925 GB, free: 74.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4958, allocations: 164.1 kB / 0.4926 GB, free: 74.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4958, allocations: 384 / 0.4926 GB, free: 74.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.4958, allocations: 384 / 0.4926 GB, free: 74.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.4959, allocations: 43.7 kB / 0.4927 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4959, allocations: 7.938 kB / 0.4927 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4959, allocations: 0 / 0.4927 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4959, allocations: 0 / 0.4927 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.496, allocations: 9.734 kB / 0.4927 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.4962, allocations: 141.6 kB / 0.4928 GB, free: 74.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.4962, allocations: 31.88 kB / 0.4929 GB, free: 74.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.4963, allocations: 8.078 kB / 0.4929 GB, free: 74.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4963, allocations: 6.812 kB / 0.4929 GB, free: 74.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4963, allocations: 38.5 kB / 0.4929 GB, free: 74.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4963, allocations: 0 / 0.4929 GB, free: 74.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001837/0.4965, allocations: 67.62 kB / 0.493 GB, free: 74.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.4965, allocations: 62.53 kB / 0.493 GB, free: 74.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.4967, allocations: 212.9 kB / 0.4932 GB, free: 74.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4967, allocations: 25.7 kB / 0.4933 GB, free: 74.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.4968, allocations: 106.2 kB / 0.4934 GB, free: 73.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4968, allocations: 15.39 kB / 0.4934 GB, free: 73.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.4968, allocations: 12.72 kB / 0.4934 GB, free: 73.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.4969, allocations: 324.7 kB / 0.4937 GB, free: 73.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.4969, allocations: 7.344 kB / 0.4937 GB, free: 73.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.497, allocations: 6.219 kB / 0.4937 GB, free: 73.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.497, allocations: 24.7 kB / 0.4937 GB, free: 73.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.497, allocations: 4 kB / 0.4937 GB, free: 73.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.531e-05/0.4971, allocations: 65.84 kB / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4971, allocations: 5.594 kB / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4971, allocations: 3.938 kB / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4971, allocations: 0 / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.4972, allocations: 6.094 kB / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4972, allocations: 0 / 0.4938 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.4973, allocations: 10.19 kB / 0.4938 GB, free: 73.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.4973, allocations: 0 / 0.4938 GB, free: 73.53 MB / 446.1 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 (3): * Single equations (assignments): 3 * 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 7.887e-05/0.4973, allocations: 124.1 kB / 0.4939 GB, free: 73.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.4974, allocations: 14.91 kB / 0.494 GB, free: 73.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.4975, allocations: 70.61 kB / 0.494 GB, free: 73.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4975, allocations: 0 / 0.494 GB, free: 73.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4975, allocations: 2.844 kB / 0.494 GB, free: 73.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4975, allocations: 4 kB / 0.494 GB, free: 73.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.4976, allocations: 132 kB / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4976, allocations: 0 / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.4976, allocations: 3.406 kB / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4976, allocations: 0 / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4977, allocations: 0 / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4977, allocations: 6.75 kB / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4977, allocations: 4 kB / 0.4942 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.4978, allocations: 86.88 kB / 0.4942 GB, free: 73.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.4978, allocations: 17.84 kB / 0.4943 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4978, allocations: 0 / 0.4943 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.4979, allocations: 7.219 kB / 0.4943 GB, free: 73.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.4979, allocations: 7.219 kB / 0.4943 GB, free: 73.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.4979, allocations: 3.188 kB / 0.4943 GB, free: 73.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.498, allocations: 161.3 kB / 0.4944 GB, free: 73.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.498, allocations: 3.938 kB / 0.4944 GB, free: 73.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00018/0.4982, allocations: 13.5 kB / 0.4945 GB, free: 73.01 MB / 446.1 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 (3): * Single equations (assignments): 3 * 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.139e-05/0.4983, allocations: 93.09 kB / 0.4945 GB, free: 72.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.4984, allocations: 23.78 kB / 0.4946 GB, free: 72.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4984, allocations: 0 / 0.4946 GB, free: 72.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.4984, allocations: 10.44 kB / 0.4946 GB, free: 72.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.4986, allocations: 11.19 kB / 0.4946 GB, free: 72.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.4989, allocations: 194.8 kB / 0.4948 GB, free: 72.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.499, allocations: 96.06 kB / 0.4949 GB, free: 72.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.499, allocations: 15.97 kB / 0.4949 GB, free: 72.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.4991, allocations: 12.5 kB / 0.4949 GB, free: 72.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4991, allocations: 3.188 kB / 0.4949 GB, free: 72.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002993/0.502, allocations: 0.5978 MB / 0.4955 GB, free: 72.56 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376292904024012] Failed to read output from testmodel.py, exit status != 0: 0.5132392529631034 0.521899246 0.024469797 Calling exit ...