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.001685/0.001685, allocations: 115.5 kB / 17.13 MB, free: 5.891 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.002053/0.002053, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.452/1.452, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.3548/0.3548, allocations: 44.23 MB / 326.6 MB, free: 6.816 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="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.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.00217/0.00217, allocations: 67.91 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 61 MB / 0.5109 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001602/0.3257, allocations: 0.5064 MB / 0.5114 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.3286, allocations: 1.988 MB / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.3286, allocations: 0 / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.3286, allocations: 0 / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.3286, allocations: 0 / 0.5134 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.3306, allocations: 0.7951 MB / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.331e-05/0.3306, allocations: 5.938 kB / 0.5141 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.3307, allocations: 4 kB / 0.5141 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.3307, allocations: 10.66 kB / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.523e-05/0.3307, allocations: 0 / 0.5142 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.3307, allocations: 4 kB / 0.5142 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009717/0.3317, allocations: 0.7021 MB / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-06/0.3317, allocations: 1.75 kB / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.3317, allocations: 0 / 0.5148 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.3323, allocations: 0.5785 MB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3323, allocations: 0 / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3323, allocations: 0 / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3323, allocations: 0.9375 kB / 0.5154 GB, free: 10.07 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.0003866/0.3327, allocations: 405.2 kB / 0.5158 GB, free: 9.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3327, allocations: 14.14 kB / 0.5158 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.031e-05/0.3328, allocations: 30.75 kB / 0.5158 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.3328, allocations: 6.219 kB / 0.5159 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.642e-05/0.3329, allocations: 168.3 kB / 0.516 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.3329, allocations: 384 / 0.516 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3329, allocations: 1.719 kB / 0.516 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.333, allocations: 40.62 kB / 0.5161 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.333, allocations: 0 / 0.5161 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.333, allocations: 4 kB / 0.5161 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.333, allocations: 0 / 0.5161 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.333, allocations: 5.734 kB / 0.5161 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.911e-05/0.3331, allocations: 151.1 kB / 0.5162 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.3331, allocations: 19.95 kB / 0.5162 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.3331, allocations: 6.203 kB / 0.5162 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.3331, allocations: 0 / 0.5162 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3332, allocations: 65.61 kB / 0.5163 GB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3332, allocations: 0 / 0.5163 GB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.3333, allocations: 67.67 kB / 0.5164 GB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.3334, allocations: 77.11 kB / 0.5164 GB, free: 8.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.701e-05/0.3334, allocations: 95.36 kB / 0.5165 GB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.3334, allocations: 25.7 kB / 0.5165 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-06/0.3334, allocations: 80.14 kB / 0.5166 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3334, allocations: 5.344 kB / 0.5166 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.3334, allocations: 15.44 kB / 0.5166 GB, free: 8.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.3335, allocations: 310.8 kB / 0.5169 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-06/0.3335, allocations: 1.781 kB / 0.5169 GB, free: 8.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.3335, allocations: 5.188 kB / 0.5169 GB, free: 8.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.3335, allocations: 63.03 kB / 0.517 GB, free: 8.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3335, allocations: 0 / 0.517 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.076e-05/0.3336, allocations: 57.91 kB / 0.5171 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3336, allocations: 36.02 kB / 0.5171 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3336, allocations: 4 kB / 0.5171 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3336, allocations: 0 / 0.5171 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3336, allocations: 9.672 kB / 0.5171 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3336, allocations: 4 kB / 0.5171 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.3336, allocations: 0 / 0.5171 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3336, allocations: 1.344 kB / 0.5171 GB, free: 8.121 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.653e-05/0.3337, allocations: 137.9 kB / 0.5172 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.3337, allocations: 9.125 kB / 0.5173 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.01e-05/0.3337, allocations: 7.125 kB / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.3337, allocations: 0 / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3337, allocations: 1.188 kB / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3337, allocations: 0 / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.164e-05/0.3338, allocations: 147 kB / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3338, allocations: 0 / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.3338, allocations: 1.625 kB / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3338, allocations: 3.938 kB / 0.5174 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3338, allocations: 1.375 kB / 0.5174 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3338, allocations: 3.938 kB / 0.5174 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3338, allocations: 0 / 0.5174 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.3338, allocations: 93.86 kB / 0.5175 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.3339, allocations: 84.98 kB / 0.5176 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3339, allocations: 1.406 kB / 0.5176 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-06/0.3339, allocations: 1.344 kB / 0.5176 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.3339, allocations: 0 / 0.5176 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3339, allocations: 1.312 kB / 0.5176 GB, free: 7.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.228e-05/0.3339, allocations: 75.28 kB / 0.5177 GB, free: 7.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3339, allocations: 4.031 kB / 0.5177 GB, free: 7.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.3344, allocations: 138.7 kB / 0.5178 GB, free: 7.434 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.0008166/0.3353, allocations: 0.7893 MB / 0.5186 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.3354, allocations: 68.83 kB / 0.5186 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3354, allocations: 0 / 0.5186 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.3354, allocations: 54.16 kB / 0.5187 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3355, allocations: 7.406 kB / 0.5187 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.3359, allocations: 152 kB / 0.5188 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.336, allocations: 0.669 MB / 0.5195 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.212e-06/0.336, allocations: 0 / 0.5195 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.336, allocations: 7.438 kB / 0.5195 GB, free: 5.695 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.336, allocations: 4.125 kB / 0.5195 GB, free: 5.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.3632, allocations: 4.779 MB / 0.5242 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.446, allocations: 8.594 kB / 0.5242 GB, free: 0.8945 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.278463534996263] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.517829247997724 8.535250462 8.199988023 Calling exit ...