Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.0008199/0.0008198, 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.0008661/0.0008662, allocations: 175.5 kB / 16.58 MB, free: 6.84 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.552/1.552, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.3536/0.3536, allocations: 43.55 MB / 314.6 MB, free: 8.742 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.0005285/0.0005292, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1171, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00213/0.1193, allocations: 1.395 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1204, allocations: 0.7422 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.1205, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1208, allocations: 39.81 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1209, allocations: 47.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1212, allocations: 71.86 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1213, allocations: 83.75 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.1214, allocations: 16.2 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.1215, allocations: 35.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.1216, allocations: 27.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1216, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.1217, allocations: 43.91 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.1217, allocations: 15.98 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.1218, allocations: 41.58 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1219, allocations: 92.03 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1219, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1219, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1219, allocations: 4 kB / 445.5 MB, free: 10.28 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.0004887/0.1224, allocations: 406.8 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1225, allocations: 12.03 kB / 445.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1225, allocations: 30.56 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1226, allocations: 11.89 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1228, allocations: 207.5 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1228, allocations: 4 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1228, allocations: 0 / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.123, allocations: 57.67 kB / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.123, allocations: 3.938 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.123, allocations: 3.953 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.123, allocations: 4 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.1231, allocations: 15.98 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1234, allocations: 284.9 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1236, allocations: 58.67 kB / 446.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.1237, allocations: 28.78 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1237, allocations: 0 / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1239, allocations: 71.28 kB / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1239, allocations: 0 / 446.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000479/0.1244, allocations: 177.1 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1244, allocations: 59.41 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1246, allocations: 195.3 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1246, allocations: 25.7 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1246, allocations: 104.1 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1247, allocations: 23.66 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1247, allocations: 0 / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.1248, allocations: 322.8 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1248, allocations: 23.98 kB / 447.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.1249, allocations: 37.7 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.125, allocations: 23.94 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.125, allocations: 0 / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1252, allocations: 113.4 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1252, allocations: 4.188 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1252, allocations: 0 / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1252, allocations: 3.938 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.1253, allocations: 19.97 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1253, allocations: 4 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.1254, allocations: 7.984 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1254, allocations: 0 / 447.8 MB, free: 7.75 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.9e-05/0.1255, allocations: 129.8 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1255, allocations: 11.86 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.1255, allocations: 21.39 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1255, allocations: 0 / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1255, allocations: 0 / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1256, allocations: 4 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1259, allocations: 399.3 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.126, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.126, allocations: 11.98 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.126, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.126, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.126, allocations: 7.938 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.126, allocations: 80 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1262, allocations: 208.3 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1263, allocations: 100.8 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1263, allocations: 0 / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1264, allocations: 4 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.1264, allocations: 11.97 kB / 448.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1264, allocations: 8 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1266, allocations: 152.9 kB / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1266, allocations: 0 / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1268, allocations: 20 kB / 448.9 MB, free: 6.578 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.00128/0.1281, allocations: 1.102 MB / 450 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.1283, allocations: 59.91 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1283, allocations: 0 / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1284, allocations: 27.98 kB / 450.1 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1287, allocations: 24.11 kB / 450.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1298, allocations: 0.7349 MB / 450.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.13, allocations: 0.7083 MB / 451.5 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.1301, allocations: 17.17 kB / 451.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.1301, allocations: 39.42 kB / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1301, allocations: 0 / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1433, allocations: 2.97 MB / 454.6 MB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1435, allocations: 221.5 kB / 454.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.82, allocations: 0 / 454.8 MB, free: 0.5898 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat