Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.001222/0.001222, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001455/0.001455, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.388/1.388, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2207/0.2207, allocations: 46.9 MB / 361.1 MB, free: 4.637 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [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.002249/0.002249, allocations: 75.88 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3222, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00169/0.3239, allocations: 0.4916 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.3271, allocations: 2.164 MB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3271, allocations: 3.938 kB / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.3271, allocations: 0 / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.3271, allocations: 0 / 0.5638 GB, free: 2.348 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.329, allocations: 0.7276 MB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.3291, allocations: 8 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.3291, allocations: 0 / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.3291, allocations: 0 / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.568e-05/0.3291, allocations: 0 / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.3292, allocations: 0 / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3313, allocations: 1.584 MB / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-06/0.3313, allocations: 0 / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3313, allocations: 0 / 0.566 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3329, allocations: 1.558 MB / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3329, allocations: 0 / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3329, allocations: 0 / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3329, allocations: 0 / 0.5676 GB, free: 14.47 MB / 414.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.0006367/0.3336, allocations: 424.5 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3336, allocations: 15.97 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3337, allocations: 0.9375 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3338, allocations: 164.4 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3338, allocations: 4.312 kB / 0.5682 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.3338, allocations: 384 / 0.5682 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.3339, allocations: 34.02 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3339, allocations: 0 / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.3339, allocations: 3.938 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.3339, allocations: 4 kB / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.3339, allocations: 0 / 0.5682 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3341, allocations: 153.7 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.3341, allocations: 22.5 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.3341, allocations: 4.953 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.3341, allocations: 4 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.3342, allocations: 64.2 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.3342, allocations: 0 / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001926/0.3344, allocations: 71.34 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3344, allocations: 77.11 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.3345, allocations: 89.86 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3345, allocations: 25.7 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.3345, allocations: 80.14 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3345, allocations: 0 / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.3346, allocations: 13.84 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3347, allocations: 314.8 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.3347, allocations: 11.94 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-06/0.3347, allocations: 4 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.3348, allocations: 60.25 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3348, allocations: 4 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.791e-05/0.3349, allocations: 55.41 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.3349, allocations: 33.7 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3349, allocations: 8.031 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3349, allocations: 0 / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-06/0.3349, allocations: 3.984 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3349, allocations: 0 / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.3349, allocations: 0 / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3349, allocations: 0 / 0.5692 GB, free: 12.48 MB / 414.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 9.533e-05/0.335, allocations: 143.5 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.335, allocations: 0 / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.3351, allocations: 7.062 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3351, allocations: 4 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3351, allocations: 4 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3351, allocations: 77.11 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.3351, allocations: 7.922 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.3351, allocations: 3.938 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-06/0.3351, allocations: 0 / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001321/0.3353, allocations: 194.1 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001692/0.3354, allocations: 244.4 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.62e-05/0.3355, allocations: 4 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.76e-05/0.3355, allocations: 75.28 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Backend: time 2.3e-07/0.3355, allocations: 0 / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.3371, allocations: 449.4 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005086/0.3376, allocations: 0.5872 MB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01391/0.3515, allocations: 7.316 MB / 0.5781 GB, free: 3.238 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.985425873659551] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3595267622731626 0.373781935 0.03781238 Calling exit ...