Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.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.001878/0.001878, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002444/0.002444, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.392/1.392, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.222/0.222, allocations: 46.93 MB / 361.6 MB, free: 4.215 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: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [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.002277/0.002277, allocations: 79.86 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3201, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001532/0.3216, allocations: 492.2 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3238, allocations: 1.587 MB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.3238, allocations: 0 / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.3238, allocations: 0 / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.3238, allocations: 0 / 0.5635 GB, free: 2.246 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.3247, allocations: 255.4 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.3247, allocations: 4 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.919e-05/0.3247, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.3248, allocations: 3.984 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.518e-05/0.3248, allocations: 3.984 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.3248, allocations: 4 kB / 0.5638 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3259, allocations: 0.8 MB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.3259, allocations: 0 / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.3259, allocations: 0 / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.3266, allocations: 0.657 MB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3266, allocations: 3.938 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3267, allocations: 4 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3267, allocations: 0 / 0.5652 GB, free: 0.5156 MB / 398.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.0004111/0.3271, allocations: 291.9 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3271, allocations: 12.03 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.3271, allocations: 30.75 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.3272, allocations: 0.9375 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.3273, allocations: 106.5 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.3273, allocations: 384 / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.3273, allocations: 4.375 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.3274, allocations: 37.83 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3274, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.3274, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3274, allocations: 4 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.3274, allocations: 3.938 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.3275, allocations: 112.8 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.3276, allocations: 26.58 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.3276, allocations: 8.859 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-06/0.3276, allocations: 0 / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.3277, allocations: 64.2 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3277, allocations: 64 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.3278, allocations: 63.34 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.3279, allocations: 85.09 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.634e-05/0.3279, allocations: 97.75 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3279, allocations: 25.7 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.328, allocations: 84.27 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.328, allocations: 4 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.328, allocations: 13.72 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3282, allocations: 310.8 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.3282, allocations: 0 / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.3282, allocations: 3.938 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.3282, allocations: 60.27 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3282, allocations: 4.062 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.227e-05/0.3283, allocations: 71.33 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.3283, allocations: 36.3 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.3283, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3284, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3284, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3284, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.3284, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3284, allocations: 0 / 0.5667 GB, free: 14.74 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.089e-05/0.3285, allocations: 143.6 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.3285, allocations: 3.938 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.3285, allocations: 3 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3285, allocations: 0 / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3285, allocations: 4 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.3285, allocations: 0 / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.3286, allocations: 124.8 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3286, allocations: 0 / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3286, allocations: 0 / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3286, allocations: 3.938 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.3286, allocations: 0 / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3286, allocations: 4 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3286, allocations: 0 / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.3287, allocations: 94.77 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-06/0.3287, allocations: 3.938 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.3287, allocations: 4 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-06/0.3287, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.3287, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3287, allocations: 4.031 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.3288, allocations: 76.3 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3288, allocations: 0 / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.3292, allocations: 119.9 kB / 0.5673 GB, free: 14.08 MB / 414.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.0009661/0.3301, allocations: 0.7134 MB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3302, allocations: 59.41 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3302, allocations: 0 / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.3303, allocations: 63.45 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.3304, allocations: 4 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.3307, allocations: 122.6 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.331, allocations: 0.669 MB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.879e-06/0.331, allocations: 0 / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.331, allocations: 7.438 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.331, allocations: 0 / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.3568, allocations: 4.754 MB / 0.5735 GB, free: 7.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.25, allocations: 7.312 kB / 0.5735 GB, free: 7.621 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.09517031814903] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.317388153634965 8.333114071 8.003327904 Calling exit ...