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.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.001436/0.001436, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] 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.001591/0.001591, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.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.2308/0.2308, allocations: 44.92 MB / 358.8 MB, free: 6.277 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest 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.002322/0.002322, allocations: 67.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3169, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001564/0.3185, allocations: 497.8 kB / 0.5575 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.3208, allocations: 1.587 MB / 0.559 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.3208, allocations: 0 / 0.559 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.3208, allocations: 0 / 0.559 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.3209, allocations: 0 / 0.559 GB, free: 5.703 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.0009508/0.3218, allocations: 259.3 kB / 0.5593 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.3218, allocations: 0 / 0.5593 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.3219, allocations: 3.984 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.3219, allocations: 4 kB / 0.5593 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.437e-05/0.3219, allocations: 0 / 0.5593 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.3219, allocations: 0 / 0.5593 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3231, allocations: 0.8 MB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.3231, allocations: 0 / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.3231, allocations: 3.984 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.3239, allocations: 0.6569 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.324, allocations: 4 kB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.324, allocations: 0 / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.324, allocations: 0 / 0.5607 GB, free: 3.977 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.0004771/0.3244, allocations: 298 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3245, allocations: 8.031 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.3245, allocations: 34.69 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.3245, allocations: 0.9375 kB / 0.561 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.3246, allocations: 110.5 kB / 0.5611 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3246, allocations: 384 / 0.5611 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.3247, allocations: 4.375 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.3247, allocations: 29.83 kB / 0.5612 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3247, allocations: 4 kB / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3248, allocations: 0 / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3248, allocations: 0 / 0.5612 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.3248, allocations: 3.938 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.3249, allocations: 124.8 kB / 0.5613 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.325, allocations: 18.58 kB / 0.5613 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.325, allocations: 4.859 kB / 0.5613 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.325, allocations: 0 / 0.5613 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.325, allocations: 68.27 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.325, allocations: 0 / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.3252, allocations: 67.33 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3253, allocations: 77.11 kB / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.3253, allocations: 93.81 kB / 0.5616 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3254, allocations: 29.83 kB / 0.5617 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.3254, allocations: 80.14 kB / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3254, allocations: 0 / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3254, allocations: 17.72 kB / 0.5617 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3256, allocations: 310.8 kB / 0.562 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3256, allocations: 0 / 0.562 GB, free: 2.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.3256, allocations: 0 / 0.562 GB, free: 2.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.3257, allocations: 68.31 kB / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3257, allocations: 0 / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.4e-05/0.3257, allocations: 67.34 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.3258, allocations: 33.64 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3258, allocations: 3.938 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3258, allocations: 4 kB / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3258, allocations: 0 / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3258, allocations: 7.984 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.3258, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3258, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.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.696e-05/0.3259, allocations: 139.6 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.3259, allocations: 3.938 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.326, allocations: 3 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.326, allocations: 0 / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.326, allocations: 3.984 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.326, allocations: 0 / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.3261, allocations: 124.7 kB / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3261, allocations: 0 / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3261, allocations: 0 / 0.5625 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3261, allocations: 3.938 kB / 0.5625 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3261, allocations: 4 kB / 0.5625 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3261, allocations: 4 kB / 0.5625 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3261, allocations: 0 / 0.5625 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.3262, allocations: 94.77 kB / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.3262, allocations: 7.938 kB / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3262, allocations: 0 / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.3262, allocations: 0 / 0.5626 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.3262, allocations: 4.031 kB / 0.5626 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3262, allocations: 0 / 0.5626 GB, free: 1.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.3263, allocations: 76.3 kB / 0.5627 GB, free: 1.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3263, allocations: 4 kB / 0.5627 GB, free: 1.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004919/0.3268, allocations: 119.9 kB / 0.5628 GB, free: 1.535 MB / 398.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.001133/0.3279, allocations: 0.7057 MB / 0.5635 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.328, allocations: 55.41 kB / 0.5635 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.328, allocations: 8 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.328, allocations: 59.39 kB / 0.5636 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3282, allocations: 6.344 kB / 0.5636 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3285, allocations: 122.6 kB / 0.5637 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3288, allocations: 0.669 MB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.564e-06/0.3288, allocations: 4 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.3289, allocations: 7.438 kB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3289, allocations: 0 / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.3601, allocations: 4.869 MB / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.53, allocations: 6.969 kB / 0.5691 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.43297770107165] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.640562786022201 11.668626767 11.339654202 Calling exit ...