Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.00204, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2357/0.2357, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3632, allocations: 65.98 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002141/0.3653, allocations: 0.4892 MB / 0.5617 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008539/0.3739, allocations: 4.957 MB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.3739, allocations: 0 / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.3739, allocations: 0 / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.3739, allocations: 0 / 0.5665 GB, free: 15.58 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007314/0.3812, allocations: 2.934 MB / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.3813, allocations: 4 kB / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.3813, allocations: 0 / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.3813, allocations: 3.984 kB / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.737e-05/0.3813, allocations: 7.938 kB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-06/0.3813, allocations: 3.938 kB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03104/0.4124, allocations: 19.57 MB / 0.5885 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4124, allocations: 0 / 0.5885 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.4124, allocations: 7.922 kB / 0.5885 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03966/0.4521, allocations: 27.47 MB / 0.6153 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4521, allocations: 0 / 0.6153 GB, free: 13.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4521, allocations: 4 kB / 0.6153 GB, free: 13.51 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.4521, allocations: 0 / 0.6153 GB, free: 13.51 MB / 462.1 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.007975/0.4601, allocations: 0.6696 MB / 0.616 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4601, allocations: 11.97 kB / 0.616 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.4602, allocations: 0.9375 kB / 0.616 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4603, allocations: 171.7 kB / 0.6162 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.4603, allocations: 0 / 0.6162 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4603, allocations: 7.984 kB / 0.6162 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.4604, allocations: 29.7 kB / 0.6162 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4604, allocations: 4 kB / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.4604, allocations: 0 / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4604, allocations: 0 / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.4604, allocations: 0 / 0.6162 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.4606, allocations: 149.7 kB / 0.6163 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.4607, allocations: 22.5 kB / 0.6164 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.4607, allocations: 4.859 kB / 0.6164 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.4607, allocations: 4 kB / 0.6164 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.4607, allocations: 64.33 kB / 0.6164 GB, free: 12.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4607, allocations: 0 / 0.6164 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.4609, allocations: 59.41 kB / 0.6165 GB, free: 12.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.461, allocations: 81.09 kB / 0.6166 GB, free: 12.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.461, allocations: 89.86 kB / 0.6167 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4611, allocations: 25.7 kB / 0.6167 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4612, allocations: 84.08 kB / 0.6168 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4612, allocations: 8.125 kB / 0.6168 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4612, allocations: 13.72 kB / 0.6168 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4614, allocations: 314.8 kB / 0.6171 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.4614, allocations: 0 / 0.6171 GB, free: 11.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.4614, allocations: 4 kB / 0.6171 GB, free: 11.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.4614, allocations: 56.27 kB / 0.6171 GB, free: 11.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4614, allocations: 0 / 0.6171 GB, free: 11.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.415e-05/0.4615, allocations: 71.45 kB / 0.6172 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.4616, allocations: 40.23 kB / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4616, allocations: 0 / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4616, allocations: 0 / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.4616, allocations: 3.938 kB / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.4616, allocations: 3.938 kB / 0.6172 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.4616, allocations: 0 / 0.6172 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4616, allocations: 0 / 0.6172 GB, free: 11.27 MB / 462.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.4617, allocations: 147.4 kB / 0.6174 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-06/0.4617, allocations: 0 / 0.6174 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.033e-05/0.4617, allocations: 7.125 kB / 0.6174 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4617, allocations: 0 / 0.6174 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4617, allocations: 0 / 0.6174 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.4617, allocations: 4 kB / 0.6174 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.4619, allocations: 153.6 kB / 0.6175 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4619, allocations: 0 / 0.6175 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4619, allocations: 0 / 0.6175 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.4619, allocations: 0 / 0.6175 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4619, allocations: 4 kB / 0.6176 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4619, allocations: 0 / 0.6176 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4619, allocations: 0 / 0.6176 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.462, allocations: 98.75 kB / 0.6176 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.462, allocations: 81.11 kB / 0.6177 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.4621, allocations: 0 / 0.6177 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-06/0.4621, allocations: 3.938 kB / 0.6177 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.4621, allocations: 0 / 0.6177 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.4621, allocations: 0 / 0.6177 GB, free: 10.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.4621, allocations: 79.28 kB / 0.6178 GB, free: 10.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4621, allocations: 4.031 kB / 0.6178 GB, free: 10.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01352/0.4756, allocations: 3.787 MB / 0.6215 GB, free: 6.805 MB / 462.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.02325/0.4989, allocations: 0.9851 MB / 0.6225 GB, free: 5.824 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.499, allocations: 67.33 kB / 0.6225 GB, free: 5.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.499, allocations: 4 kB / 0.6225 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.4991, allocations: 59.41 kB / 0.6226 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.4993, allocations: 4 kB / 0.6226 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.4995, allocations: 81.06 kB / 0.6227 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4998, allocations: 0.6729 MB / 0.6233 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.4998, allocations: 0 / 0.6233 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.4998, allocations: 11.44 kB / 0.6233 GB, free: 4.852 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4998, allocations: 0 / 0.6233 GB, free: 4.852 MB / 462.1 MB Notification: Performance of Templates: time 0.1824/0.6822, allocations: 112.6 MB / 0.7333 GB, free: 4.059 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.2713264208287] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.690720054320991 0.917691997 0.463070024 Calling exit ...