Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.0008407/0.0008406, 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.0008431/0.0008431, allocations: 173.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.553/1.553, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3485/0.3485, allocations: 43.55 MB / 314.6 MB, free: 8.801 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.0005376/0.0005377, allocations: 15.94 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1227, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002048/0.1248, allocations: 1.387 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1261, allocations: 0.7422 MB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.1262, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1265, allocations: 27.91 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1267, allocations: 51.77 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.127, allocations: 83.83 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1272, allocations: 75.77 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.1273, allocations: 8.219 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.1274, allocations: 47.77 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.1275, allocations: 23.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1275, allocations: 0 / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1276, allocations: 39.98 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1276, allocations: 19.92 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.1277, allocations: 41.62 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1279, allocations: 87.98 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1279, allocations: 4 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1279, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1279, allocations: 0 / 445.5 MB, free: 10.29 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.0004888/0.1284, allocations: 406.8 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1284, allocations: 8.031 kB / 445.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1285, allocations: 34.56 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1285, allocations: 11.91 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1287, allocations: 202.8 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1288, allocations: 4 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1288, allocations: 0 / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1289, allocations: 53.67 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.129, allocations: 0 / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.129, allocations: 7.953 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.129, allocations: 0 / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.1291, allocations: 19.92 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.1294, allocations: 288.9 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1296, allocations: 58.67 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1296, allocations: 24.84 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.1296, allocations: 3.938 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.1298, allocations: 75.28 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1298, allocations: 0 / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005032/0.1304, allocations: 173.2 kB / 446.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1304, allocations: 51.41 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1306, allocations: 190.2 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1306, allocations: 25.7 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.1306, allocations: 100.1 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1307, allocations: 27.7 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1307, allocations: 0 / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1308, allocations: 322.8 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.1309, allocations: 20 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.1309, allocations: 33.7 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.131, allocations: 28.05 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.131, allocations: 0 / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.1312, allocations: 105.5 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1312, allocations: 8 kB / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1312, allocations: 192 / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1313, allocations: 0 / 447.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1314, allocations: 23.92 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1314, allocations: 3.938 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.1314, allocations: 0 / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1314, allocations: 4 kB / 447.8 MB, free: 7.785 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 0.0001034/0.1315, allocations: 133.8 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.1316, allocations: 23.75 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.1316, allocations: 12.72 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1316, allocations: 3.984 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1316, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1317, allocations: 0 / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.1321, allocations: 395.3 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1321, allocations: 0 / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.1322, allocations: 12.03 kB / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1322, allocations: 0 / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1322, allocations: 4 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1322, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1322, allocations: 3.984 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1325, allocations: 212.5 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1325, allocations: 88.92 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1326, allocations: 4 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1326, allocations: 15.98 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1327, allocations: 4 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1327, allocations: 4 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1328, allocations: 144 kB / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1328, allocations: 0 / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1331, allocations: 20 kB / 448.8 MB, free: 6.625 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.00151/0.1346, allocations: 1.103 MB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1348, allocations: 51.92 kB / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1348, allocations: 0 / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.1349, allocations: 31.97 kB / 450 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1353, allocations: 27.97 kB / 450.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1366, allocations: 0.7041 MB / 450.8 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.1372, allocations: 0.7082 MB / 451.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.1373, allocations: 12.88 kB / 451.5 MB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1373, allocations: 31.42 kB / 451.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1373, allocations: 0 / 451.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.1549, allocations: 2.93 MB / 454.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.1552, allocations: 217.4 kB / 454.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.855, allocations: 4 kB / 454.7 MB, free: 0.7188 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat