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.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.001805/0.001805, allocations: 113.5 kB / 17.13 MB, free: 5.754 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.002097/0.002097, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.432/1.432, allocations: 207.6 MB / 230.5 MB, free: 3.957 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.3205/0.3205, allocations: 44.23 MB / 326.5 MB, free: 6.797 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.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.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.89 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2867, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001579/0.2883, allocations: 0.5041 MB / 0.5114 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2906, allocations: 1.99 MB / 0.5133 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.2906, allocations: 0 / 0.5133 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.2906, allocations: 0 / 0.5133 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-06/0.2906, allocations: 2.219 kB / 0.5133 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.2924, allocations: 0.7131 MB / 0.514 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.2925, allocations: 5.406 kB / 0.514 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.935e-05/0.2925, allocations: 5.672 kB / 0.514 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.2925, allocations: 0 / 0.514 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.435e-05/0.2925, allocations: 4 kB / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-06/0.2925, allocations: 1.469 kB / 0.514 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.2934, allocations: 0.6948 MB / 0.5147 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.2934, allocations: 0 / 0.5147 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.2935, allocations: 1.375 kB / 0.5147 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.294, allocations: 0.5707 MB / 0.5153 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.294, allocations: 1.375 kB / 0.5153 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.294, allocations: 0 / 0.5153 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.294, allocations: 4 kB / 0.5153 GB, free: 10.02 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.0003577/0.2944, allocations: 401.2 kB / 0.5157 GB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2944, allocations: 13.48 kB / 0.5157 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.944e-05/0.2945, allocations: 34.73 kB / 0.5157 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.2945, allocations: 2.312 kB / 0.5157 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.699e-05/0.2945, allocations: 160.4 kB / 0.5159 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.2945, allocations: 384 / 0.5159 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.2945, allocations: 1.75 kB / 0.5159 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.2946, allocations: 36.58 kB / 0.5159 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2946, allocations: 4 kB / 0.5159 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.2946, allocations: 0 / 0.5159 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2946, allocations: 5.312 kB / 0.5159 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.2947, allocations: 5.312 kB / 0.5159 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.182e-05/0.2947, allocations: 151 kB / 0.5161 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.148e-05/0.2948, allocations: 19.95 kB / 0.5161 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.2948, allocations: 10.23 kB / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.2948, allocations: 0 / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2948, allocations: 69.58 kB / 0.5162 GB, free: 8.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2948, allocations: 0 / 0.5162 GB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.295, allocations: 66.2 kB / 0.5162 GB, free: 8.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.295, allocations: 78.48 kB / 0.5163 GB, free: 8.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.724e-05/0.295, allocations: 89.86 kB / 0.5164 GB, free: 8.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.295, allocations: 27.08 kB / 0.5164 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-06/0.295, allocations: 80.14 kB / 0.5165 GB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.295, allocations: 4.125 kB / 0.5165 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.2951, allocations: 16.47 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.2951, allocations: 310.8 kB / 0.5168 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-06/0.2951, allocations: 5.359 kB / 0.5168 GB, free: 8.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.2951, allocations: 1.281 kB / 0.5168 GB, free: 8.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.2951, allocations: 58.95 kB / 0.5169 GB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2951, allocations: 0 / 0.5169 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.835e-05/0.2952, allocations: 71.72 kB / 0.5169 GB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2952, allocations: 34.52 kB / 0.517 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2952, allocations: 3.984 kB / 0.517 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2952, allocations: 0 / 0.517 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2952, allocations: 1.156 kB / 0.517 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2952, allocations: 0 / 0.517 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.2952, allocations: 1.375 kB / 0.517 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2952, allocations: 0 / 0.517 GB, free: 8.086 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.758e-05/0.2953, allocations: 134.5 kB / 0.5171 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.2953, allocations: 5.688 kB / 0.5171 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-06/0.2953, allocations: 7.125 kB / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.2953, allocations: 0 / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2953, allocations: 0 / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2953, allocations: 1.406 kB / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.82e-05/0.2954, allocations: 155.1 kB / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2954, allocations: 0 / 0.5173 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2954, allocations: 3.938 kB / 0.5173 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2954, allocations: 3.938 kB / 0.5173 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.2954, allocations: 1.406 kB / 0.5173 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.2954, allocations: 0 / 0.5173 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2954, allocations: 5.594 kB / 0.5173 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.403e-05/0.2954, allocations: 92.77 kB / 0.5174 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.2955, allocations: 81.05 kB / 0.5174 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2955, allocations: 1.156 kB / 0.5174 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.2955, allocations: 5.188 kB / 0.5174 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.2955, allocations: 3.984 kB / 0.5174 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2955, allocations: 5.297 kB / 0.5175 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.063e-05/0.2955, allocations: 79.31 kB / 0.5175 GB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2955, allocations: 0.9375 kB / 0.5175 GB, free: 7.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.2959, allocations: 130.3 kB / 0.5177 GB, free: 7.395 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.0007332/0.2967, allocations: 0.788 MB / 0.5184 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.2968, allocations: 68.73 kB / 0.5185 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2968, allocations: 0 / 0.5185 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.2968, allocations: 53.38 kB / 0.5185 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.2969, allocations: 2.375 kB / 0.5185 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.2972, allocations: 161.8 kB / 0.5187 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.2973, allocations: 0.669 MB / 0.5193 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.2973, allocations: 0 / 0.5193 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.2973, allocations: 8.844 kB / 0.5194 GB, free: 5.668 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2973, allocations: 4.125 kB / 0.5194 GB, free: 5.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.3227, allocations: 4.687 MB / 0.5239 GB, free: 1.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.638, allocations: 7.984 kB / 0.5239 GB, free: 1.082 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.275595538783818] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.711553509812802 8.726017347 8.429079097 Calling exit ...