Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.001828/0.001828, allocations: 126.1 kB / 17.84 MB, free: 5.223 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.00228/0.00228, allocations: 203.9 kB / 20.79 MB, free: 2.281 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.472/1.472, allocations: 207.6 MB / 231.2 MB, free: 4.133 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.3335/0.3335, allocations: 44.23 MB / 327.3 MB, free: 6.781 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.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",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.002278/0.002278, allocations: 67.89 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2772, allocations: 61 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001555/0.2788, allocations: 0.4947 MB / 0.5121 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.281, allocations: 1.995 MB / 0.5141 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.281, allocations: 0 / 0.5141 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.281, allocations: 1.062 kB / 0.5141 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.281, allocations: 0 / 0.5141 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.2829, allocations: 0.7928 MB / 0.5148 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.283, allocations: 9.359 kB / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.283, allocations: 5.375 kB / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.283, allocations: 0 / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.568e-05/0.283, allocations: 1.375 kB / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.283, allocations: 3.984 kB / 0.5148 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.2841, allocations: 0.7066 MB / 0.5155 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.2841, allocations: 2.031 kB / 0.5155 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2841, allocations: 7.984 kB / 0.5155 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.2847, allocations: 0.5739 MB / 0.5161 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2847, allocations: 0 / 0.5161 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2847, allocations: 1.375 kB / 0.5161 GB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2847, allocations: 0 / 0.5161 GB, free: 9.969 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.0003946/0.2851, allocations: 401.2 kB / 0.5165 GB, free: 9.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2852, allocations: 17.48 kB / 0.5165 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.463e-05/0.2852, allocations: 1.562 kB / 0.5165 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.451e-05/0.2852, allocations: 30.75 kB / 0.5165 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.2852, allocations: 4.875 kB / 0.5165 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.59e-05/0.2853, allocations: 165.8 kB / 0.5167 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.2853, allocations: 384 / 0.5167 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.2853, allocations: 9.688 kB / 0.5167 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.084e-05/0.2854, allocations: 32.39 kB / 0.5167 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.2854, allocations: 3.938 kB / 0.5167 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.2854, allocations: 4 kB / 0.5168 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2854, allocations: 0 / 0.5168 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.2854, allocations: 5.359 kB / 0.5168 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.141e-05/0.2855, allocations: 151 kB / 0.5169 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.2855, allocations: 17.33 kB / 0.5169 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.2856, allocations: 8.797 kB / 0.5169 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2856, allocations: 9.312 kB / 0.5169 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2856, allocations: 61.64 kB / 0.517 GB, free: 8.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.2856, allocations: 0 / 0.517 GB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.2857, allocations: 62.27 kB / 0.5171 GB, free: 8.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2858, allocations: 78.48 kB / 0.5171 GB, free: 8.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.969e-05/0.2858, allocations: 89.86 kB / 0.5172 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.2858, allocations: 25.7 kB / 0.5172 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.2858, allocations: 81.52 kB / 0.5173 GB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2858, allocations: 7.938 kB / 0.5173 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.2859, allocations: 16.59 kB / 0.5173 GB, free: 8.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.2859, allocations: 310.8 kB / 0.5176 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.2859, allocations: 5.312 kB / 0.5176 GB, free: 8.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.2859, allocations: 1.375 kB / 0.5176 GB, free: 8.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.2859, allocations: 63 kB / 0.5177 GB, free: 8.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2859, allocations: 0 / 0.5177 GB, free: 8.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.819e-05/0.286, allocations: 66.22 kB / 0.5178 GB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.286, allocations: 35.3 kB / 0.5178 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.286, allocations: 0 / 0.5178 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.286, allocations: 1.375 kB / 0.5178 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.286, allocations: 3.984 kB / 0.5178 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2861, allocations: 0 / 0.5178 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.2861, allocations: 1.375 kB / 0.5178 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2861, allocations: 0 / 0.5178 GB, free: 8.027 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 5.187e-05/0.2861, allocations: 138.2 kB / 0.5179 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.2861, allocations: 9.25 kB / 0.5179 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-06/0.2861, allocations: 7.125 kB / 0.518 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.2861, allocations: 0 / 0.518 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2861, allocations: 1.375 kB / 0.518 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2861, allocations: 0 / 0.518 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.904e-05/0.2862, allocations: 151 kB / 0.5181 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2862, allocations: 0 / 0.5181 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-06/0.2862, allocations: 5.312 kB / 0.5181 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2862, allocations: 0 / 0.5181 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2862, allocations: 1.375 kB / 0.5181 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2862, allocations: 0 / 0.5181 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2862, allocations: 3.938 kB / 0.5181 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.635e-05/0.2863, allocations: 93.83 kB / 0.5182 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.2863, allocations: 81.05 kB / 0.5183 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.2863, allocations: 1.375 kB / 0.5183 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.2863, allocations: 1.375 kB / 0.5183 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.2863, allocations: 0 / 0.5183 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2863, allocations: 5.375 kB / 0.5183 GB, free: 7.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.338e-05/0.2863, allocations: 79.22 kB / 0.5184 GB, free: 7.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2863, allocations: 4.031 kB / 0.5184 GB, free: 7.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.2868, allocations: 134.8 kB / 0.5185 GB, free: 7.336 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.0007654/0.2876, allocations: 0.7891 MB / 0.5193 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.364e-05/0.2877, allocations: 68.05 kB / 0.5193 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2877, allocations: 0 / 0.5193 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.2877, allocations: 58.62 kB / 0.5194 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.2878, allocations: 3.719 kB / 0.5194 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2881, allocations: 155.3 kB / 0.5195 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.2882, allocations: 0.6705 MB / 0.5202 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.2882, allocations: 0 / 0.5202 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.2883, allocations: 8.469 kB / 0.5202 GB, free: 5.613 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2883, allocations: 4.125 kB / 0.5202 GB, free: 5.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.308, allocations: 4.811 MB / 0.5249 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/9.054, allocations: 8.719 kB / 0.5249 GB, free: 0.8516 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.83543658501003] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 9.183067160018254 9.205181588 8.916304744 Calling exit ...