Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.0008201/0.0008201, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 174.7 kB / 16.58 MB, free: 6.848 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.581/1.581, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3868/0.3868, allocations: 43.55 MB / 314.6 MB, free: 8.828 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.0005154/0.0005154, allocations: 20 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002076/0.1193, allocations: 1.383 MB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1204, allocations: 0.7422 MB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.1205, allocations: 3.938 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1207, allocations: 31.91 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1209, allocations: 39.83 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1211, allocations: 75.8 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1213, allocations: 87.67 kB / 445.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.1214, allocations: 12.2 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.1215, allocations: 39.8 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.1215, allocations: 27.83 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1216, allocations: 7.938 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.55e-05/0.1217, allocations: 40 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.1217, allocations: 11.92 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1217, allocations: 33.7 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1219, allocations: 87.97 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1219, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1219, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1219, allocations: 0 / 445.5 MB, free: 10.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004864/0.1224, allocations: 390.9 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1224, allocations: 8.031 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1225, allocations: 42.55 kB / 445.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.1225, allocations: 7.906 kB / 445.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1227, allocations: 191.5 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1227, allocations: 0 / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1227, allocations: 8 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1229, allocations: 53.61 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1229, allocations: 0 / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1229, allocations: 11.94 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1229, allocations: 0 / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.123, allocations: 23.98 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.1233, allocations: 284.8 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1234, allocations: 54.61 kB / 446.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.1235, allocations: 24.84 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1235, allocations: 7.922 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1237, allocations: 71.34 kB / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1237, allocations: 0 / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005/0.1242, allocations: 169.3 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1243, allocations: 51.41 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1244, allocations: 159 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1244, allocations: 25.7 kB / 447.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1245, allocations: 100.1 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1245, allocations: 27.64 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1245, allocations: 4 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1246, allocations: 322.8 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1247, allocations: 12 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.1248, allocations: 41.64 kB / 447.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.1248, allocations: 32.23 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1248, allocations: 4 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.125, allocations: 105.4 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.125, allocations: 4 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.125, allocations: 4 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.125, allocations: 0 / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1251, allocations: 19.92 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1251, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1252, allocations: 8 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1252, allocations: 4 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/0.1253, allocations: 125.8 kB / 447.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1253, allocations: 15.86 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.1254, allocations: 12.72 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1254, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1254, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1254, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.1258, allocations: 391.3 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1258, allocations: 4.031 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1258, allocations: 15.92 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1258, allocations: 3.984 kB / 448.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1259, allocations: 4 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1259, allocations: 384 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1259, allocations: 0 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1261, allocations: 208.2 kB / 448.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1261, allocations: 92.91 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1262, allocations: 8 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.1262, allocations: 4 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1263, allocations: 7.984 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1263, allocations: 4 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.1264, allocations: 124.5 kB / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1264, allocations: 0 / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1267, allocations: 24 kB / 448.8 MB, free: 6.727 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/0.128, allocations: 1.098 MB / 449.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1281, allocations: 55.91 kB / 449.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1282, allocations: 0 / 449.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.1282, allocations: 31.92 kB / 449.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1285, allocations: 31.91 kB / 450 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.1294, allocations: 0.6385 MB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.1297, allocations: 0.6965 MB / 451.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.1297, allocations: 16.88 kB / 451.3 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.1298, allocations: 31.42 kB / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1298, allocations: 0 / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.1424, allocations: 2.819 MB / 454.2 MB, free: 1.234 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1426, allocations: 224.3 kB / 454.4 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.809, allocations: 0 / 454.4 MB, free: 0.9883 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat