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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 99.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB 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.00149/0.001491, allocations: 69.31 kB / 382.8 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002544/0.1094, allocations: 497.5 kB / 441.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.1135, allocations: 1.974 MB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1135, allocations: 0 / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.1136, allocations: 0 / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.1136, allocations: 0 / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.1167, allocations: 0.7161 MB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.1168, allocations: 4 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1169, allocations: 0 / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.1169, allocations: 4 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.504e-05/0.1169, allocations: 3.984 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-06/0.1169, allocations: 0 / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.1184, allocations: 0.6473 MB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1185, allocations: 3.984 kB / 444.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1185, allocations: 0 / 444.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1195, allocations: 0.5614 MB / 445 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1196, allocations: 0 / 445 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.1196, allocations: 0 / 445 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1196, allocations: 7.938 kB / 445 MB, free: 2.383 MB / 318.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.000566/0.1202, allocations: 401.5 kB / 445.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.1202, allocations: 15.89 kB / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.1203, allocations: 34.69 kB / 445.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1203, allocations: 0.9375 kB / 445.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.404e-05/0.1204, allocations: 160.4 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1204, allocations: 384 / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1204, allocations: 4.375 kB / 445.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.1205, allocations: 37.81 kB / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1205, allocations: 0 / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1205, allocations: 3.984 kB / 445.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1206, allocations: 0 / 445.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.1206, allocations: 7.984 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.352e-05/0.1207, allocations: 153.6 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.1207, allocations: 22.61 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1208, allocations: 4.859 kB / 445.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.1208, allocations: 4 kB / 445.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1208, allocations: 60.2 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1208, allocations: 0 / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/0.121, allocations: 71.39 kB / 446 MB, free: 1.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.121, allocations: 77.11 kB / 446.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.201e-05/0.1211, allocations: 93.86 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.1211, allocations: 25.7 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.1211, allocations: 80.27 kB / 446.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1211, allocations: 4 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.1212, allocations: 17.64 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.1212, allocations: 314.8 kB / 446.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1212, allocations: 4 kB / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.1212, allocations: 0 / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.1213, allocations: 64.27 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1213, allocations: 0 / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.391e-05/0.1213, allocations: 71.39 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1214, allocations: 33.64 kB / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1214, allocations: 0 / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1214, allocations: 0 / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1214, allocations: 0 / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1214, allocations: 0 / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.1214, allocations: 4 kB / 446.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1215, allocations: 0 / 446.8 MB, free: 376 kB / 318.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 6.246e-05/0.1215, allocations: 139.5 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1215, allocations: 11.97 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.1216, allocations: 7.109 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1216, allocations: 0 / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1216, allocations: 0 / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1216, allocations: 0 / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.076e-05/0.1216, allocations: 145.6 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1216, allocations: 4 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1216, allocations: 0 / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.694e-05/0.1217, allocations: 4.141 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1217, allocations: 0 / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1217, allocations: 3.984 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1217, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.1218, allocations: 90.78 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1219, allocations: 77.11 kB / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1219, allocations: 7.922 kB / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.1219, allocations: 0 / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1219, allocations: 4 kB / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.122, allocations: 0 / 447.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.122, allocations: 79.31 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.122, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006518/0.1227, allocations: 132 kB / 447.4 MB, free: 15.56 MB / 334.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.001548/0.1242, allocations: 0.7867 MB / 448.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1244, allocations: 63.34 kB / 448.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1244, allocations: 0 / 448.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.1245, allocations: 55.41 kB / 448.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.1247, allocations: 4 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.1253, allocations: 150.6 kB / 448.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1258, allocations: 0.6729 MB / 449.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.291e-05/0.1258, allocations: 0 / 449.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1258, allocations: 11.38 kB / 449.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1259, allocations: 4.125 kB / 449.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1523, allocations: 4.644 MB / 453.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.15, allocations: 9.094 kB / 453.8 MB, free: 9.043 MB / 334.1 MB (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)