Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001299/0.001299, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.001443/0.001443, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 207.6 MB / 231.2 MB, free: 4.113 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3312/0.3312, allocations: 44.23 MB / 327.3 MB, free: 6.699 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002506/0.002506, allocations: 71.91 kB / 462.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2935, allocations: 61 MB / 0.5116 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001555/0.2951, allocations: 0.5014 MB / 0.5121 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2967, allocations: 1.557 MB / 0.5136 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.2968, allocations: 0 / 0.5136 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.2968, allocations: 0 / 0.5136 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.2968, allocations: 0 / 0.5136 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.2976, allocations: 231.2 kB / 0.5138 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.2976, allocations: 9.516 kB / 0.5139 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.2977, allocations: 1.438 kB / 0.5139 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.2977, allocations: 0 / 0.5139 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.344e-05/0.2977, allocations: 1.406 kB / 0.5139 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-06/0.2977, allocations: 0 / 0.5139 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.2985, allocations: 0.7404 MB / 0.5146 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-06/0.2985, allocations: 0 / 0.5146 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.2985, allocations: 1.125 kB / 0.5146 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006078/0.2991, allocations: 0.6465 MB / 0.5152 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2991, allocations: 0 / 0.5152 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2991, allocations: 0 / 0.5152 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2991, allocations: 4 kB / 0.5152 GB, free: 11.05 MB / 382.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.0003701/0.2995, allocations: 372.6 kB / 0.5156 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2995, allocations: 13.39 kB / 0.5156 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.995e-05/0.2996, allocations: 192 / 0.5156 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.334e-05/0.2996, allocations: 36.84 kB / 0.5156 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.2996, allocations: 0.9375 kB / 0.5156 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.9e-05/0.2996, allocations: 160.4 kB / 0.5158 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.2997, allocations: 384 / 0.5158 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.2997, allocations: 1.812 kB / 0.5158 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.741e-05/0.2997, allocations: 36.45 kB / 0.5158 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2997, allocations: 0 / 0.5158 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.2997, allocations: 0 / 0.5158 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2997, allocations: 3.984 kB / 0.5158 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.2998, allocations: 1.344 kB / 0.5158 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.005e-05/0.2998, allocations: 146.9 kB / 0.516 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.302e-05/0.2999, allocations: 21.52 kB / 0.516 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.068e-05/0.2999, allocations: 8.859 kB / 0.516 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.2999, allocations: 5.562 kB / 0.516 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2999, allocations: 56.27 kB / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2999, allocations: 1.469 kB / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.3001, allocations: 66.05 kB / 0.5161 GB, free: 9.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3001, allocations: 86.55 kB / 0.5162 GB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.535e-05/0.3001, allocations: 89.86 kB / 0.5163 GB, free: 9.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.3001, allocations: 25.83 kB / 0.5163 GB, free: 9.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-06/0.3001, allocations: 85.39 kB / 0.5164 GB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3002, allocations: 1.219 kB / 0.5164 GB, free: 9.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3002, allocations: 15.33 kB / 0.5164 GB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.3002, allocations: 312.3 kB / 0.5167 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3002, allocations: 7.938 kB / 0.5167 GB, free: 9.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.3002, allocations: 1.469 kB / 0.5167 GB, free: 9.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.3003, allocations: 59.2 kB / 0.5168 GB, free: 9.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3003, allocations: 4.062 kB / 0.5168 GB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.124e-05/0.3003, allocations: 66.42 kB / 0.5168 GB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3003, allocations: 30.95 kB / 0.5169 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3004, allocations: 5.188 kB / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3004, allocations: 0 / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3004, allocations: 0 / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3004, allocations: 1.219 kB / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.3004, allocations: 0 / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3004, allocations: 1.219 kB / 0.5169 GB, free: 9.148 MB / 382.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 4.657e-05/0.3004, allocations: 142.2 kB / 0.517 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3004, allocations: 9.672 kB / 0.517 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.007e-05/0.3005, allocations: 7.109 kB / 0.517 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3005, allocations: 0 / 0.517 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3005, allocations: 0 / 0.517 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3005, allocations: 1.312 kB / 0.517 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.792e-05/0.3005, allocations: 142.9 kB / 0.5172 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3005, allocations: 4 kB / 0.5172 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.3005, allocations: 3.938 kB / 0.5172 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3005, allocations: 1.156 kB / 0.5172 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3005, allocations: 4 kB / 0.5172 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3005, allocations: 1.25 kB / 0.5172 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3005, allocations: 3.984 kB / 0.5172 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.375e-05/0.3006, allocations: 89.91 kB / 0.5173 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.3006, allocations: 81.05 kB / 0.5173 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3006, allocations: 5.422 kB / 0.5173 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-06/0.3006, allocations: 1.312 kB / 0.5173 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.3006, allocations: 7.969 kB / 0.5174 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3006, allocations: 1.344 kB / 0.5174 GB, free: 8.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.097e-05/0.3006, allocations: 75.28 kB / 0.5174 GB, free: 8.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3006, allocations: 0 / 0.5174 GB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000527/0.3012, allocations: 120.3 kB / 0.5175 GB, free: 8.477 MB / 382.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.0008982/0.3021, allocations: 0.7216 MB / 0.5182 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.3021, allocations: 59.47 kB / 0.5183 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3022, allocations: 5.438 kB / 0.5183 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.3022, allocations: 54.16 kB / 0.5184 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.3023, allocations: 1.375 kB / 0.5184 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.3027, allocations: 132.2 kB / 0.5185 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.3028, allocations: 0.6742 MB / 0.5191 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.902e-06/0.3028, allocations: 0 / 0.5191 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-06/0.3028, allocations: 8.812 kB / 0.5192 GB, free: 6.793 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3028, allocations: 0 / 0.5192 GB, free: 6.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.3223, allocations: 4.766 MB / 0.5238 GB, free: 2.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.685, allocations: 9.438 kB / 0.5238 GB, free: 2.117 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.511999982991256] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.814691073959693 8.839944445 8.536237393 Calling exit ...