Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 72.14 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.112, allocations: 64.25 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001621/0.1137, allocations: 499.9 kB / 0.5435 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1159, allocations: 1.526 MB / 0.5449 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.116, allocations: 0 / 0.5449 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.116, allocations: 0 / 0.5449 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.116, allocations: 0 / 0.5449 GB, free: 2.098 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.0008774/0.1169, allocations: 227.3 kB / 0.5452 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.1169, allocations: 11.98 kB / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1169, allocations: 0 / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.1169, allocations: 0 / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.339e-05/0.117, allocations: 0 / 0.5452 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.117, allocations: 4 kB / 0.5452 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.1179, allocations: 0.7414 MB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.312e-06/0.118, allocations: 3.938 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.118, allocations: 0 / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.1187, allocations: 0.6437 MB / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1187, allocations: 0 / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1187, allocations: 0 / 0.5465 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1187, allocations: 0 / 0.5465 GB, free: 480 kB / 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.0004493/0.1192, allocations: 361 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1192, allocations: 16.03 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1192, allocations: 34.75 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.1193, allocations: 4.922 kB / 0.5469 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1194, allocations: 164.3 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1194, allocations: 4.375 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.1194, allocations: 384 / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.578e-05/0.1195, allocations: 33.83 kB / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1195, allocations: 0 / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1195, allocations: 0 / 0.5471 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1195, allocations: 3.938 kB / 0.5471 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.1196, allocations: 8 kB / 0.5471 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.1197, allocations: 145.7 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/0.1198, allocations: 18.52 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.1198, allocations: 12.95 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.1198, allocations: 0 / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1198, allocations: 64.14 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1198, allocations: 4 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.12, allocations: 63.39 kB / 0.5474 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1201, allocations: 77.11 kB / 0.5475 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.1201, allocations: 89.86 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1201, allocations: 25.7 kB / 0.5476 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.1202, allocations: 88.08 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1202, allocations: 4 kB / 0.5477 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1202, allocations: 9.719 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1204, allocations: 315 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.1204, allocations: 0 / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.1204, allocations: 7.984 kB / 0.548 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.1204, allocations: 64.27 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1204, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.98e-05/0.1205, allocations: 59.41 kB / 0.5481 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1205, allocations: 39.52 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1205, allocations: 0 / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1206, allocations: 8.078 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1206, allocations: 0 / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.1206, allocations: 3.938 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.1206, allocations: 0 / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1206, allocations: 0 / 0.5482 GB, free: 14.5 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 8.62e-05/0.1207, allocations: 139.5 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1207, allocations: 7.891 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1207, allocations: 3.125 kB / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1207, allocations: 0 / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1207, allocations: 8 kB / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1207, allocations: 0 / 0.5483 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1208, allocations: 149.7 kB / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1208, allocations: 0 / 0.5485 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1208, allocations: 3.938 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1208, allocations: 3.938 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1208, allocations: 4 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1208, allocations: 4 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1208, allocations: 0 / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.121, allocations: 90.83 kB / 0.5486 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.121, allocations: 85.05 kB / 0.5487 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.121, allocations: 0 / 0.5487 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.121, allocations: 3.938 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.1211, allocations: 3.984 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1211, allocations: 3.984 kB / 0.5487 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.1211, allocations: 79.28 kB / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1211, allocations: 3.938 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1215, allocations: 119.8 kB / 0.5489 GB, free: 13.69 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.001105/0.1226, allocations: 0.6941 MB / 0.5495 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.1227, allocations: 63.33 kB / 0.5496 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1227, allocations: 0 / 0.5496 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.1228, allocations: 59.41 kB / 0.5497 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.1229, allocations: 1.562 kB / 0.5497 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.1233, allocations: 118.7 kB / 0.5498 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1237, allocations: 0.6805 MB / 0.5504 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.698e-06/0.1237, allocations: 0 / 0.5504 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.1237, allocations: 7.438 kB / 0.5505 GB, free: 11.95 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1237, allocations: 0 / 0.5505 GB, free: 11.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.1519, allocations: 4.742 MB / 0.5551 GB, free: 7.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.929, allocations: 0 / 0.5551 GB, free: 7.273 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.781629205215722] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 7.995017560198903 8.009400174 7.887851335 Calling exit ...