Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001036/0.001036, allocations: 96.36 kB / 15.68 MB, free: 488 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.001043/0.001043, allocations: 173.2 kB / 16.56 MB, free: 6.844 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.621/1.621, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3353/0.3353, allocations: 43.54 MB / 314.5 MB, free: 9.016 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.0005023/0.0005024, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001579/0.1173, allocations: 1.388 MB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.1183, allocations: 0.7305 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1184, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1186, allocations: 31.83 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1187, allocations: 51.88 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1189, allocations: 75.77 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1191, allocations: 59.88 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.1192, allocations: 16.19 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.1192, allocations: 39.84 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1193, allocations: 35.78 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1193, allocations: 4 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.1194, allocations: 31.92 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.1194, allocations: 27.91 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1195, allocations: 37.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1196, allocations: 96.08 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1196, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1196, allocations: 3.938 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1196, allocations: 0 / 445.5 MB, free: 10.56 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.0004194/0.1201, allocations: 426.6 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.1201, allocations: 12.03 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.1201, allocations: 34.56 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1202, allocations: 11.81 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1204, allocations: 214.8 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1204, allocations: 0 / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1204, allocations: 4 kB / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1205, allocations: 57.61 kB / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1206, allocations: 0 / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1206, allocations: 3.953 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1206, allocations: 0 / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.1207, allocations: 27.98 kB / 446.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.121, allocations: 284.9 kB / 446.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1211, allocations: 58.62 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1211, allocations: 0 / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.1213, allocations: 83.45 kB / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1213, allocations: 0 / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004467/0.1217, allocations: 177 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1218, allocations: 55.41 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.122, allocations: 262.5 kB / 447.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.122, allocations: 29.7 kB / 447.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.1221, allocations: 112 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1221, allocations: 27.66 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1221, allocations: 0 / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1223, allocations: 330.8 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.1224, allocations: 15.98 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.1224, allocations: 45.64 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.1225, allocations: 20.19 kB / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1225, allocations: 0 / 447.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.1227, allocations: 109.4 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1227, allocations: 8 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1227, allocations: 0 / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1227, allocations: 0 / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.1228, allocations: 19.92 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1228, allocations: 4 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.1229, allocations: 4 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1229, allocations: 4 kB / 447.9 MB, free: 7.934 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.0001026/0.123, allocations: 141.8 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.123, allocations: 19.77 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.1231, allocations: 17.39 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1231, allocations: 4 kB / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1231, allocations: 0 / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1231, allocations: 0 / 448 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1235, allocations: 411.3 kB / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1235, allocations: 0 / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1236, allocations: 12.03 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1236, allocations: 0 / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1236, allocations: 4 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1236, allocations: 3.938 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1236, allocations: 80 / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1238, allocations: 225.8 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.1239, allocations: 93 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1239, allocations: 8 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.124, allocations: 0 / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.124, allocations: 8.359 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.124, allocations: 4 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1242, allocations: 208 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1242, allocations: 0 / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1245, allocations: 24 kB / 449 MB, free: 6.664 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.001305/0.1258, allocations: 1.18 MB / 450.2 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1259, allocations: 63.91 kB / 450.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.126, allocations: 0 / 450.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.126, allocations: 27.98 kB / 450.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1263, allocations: 23.92 kB / 450.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1276, allocations: 1.017 MB / 451.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1279, allocations: 0.716 MB / 452 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.1279, allocations: 17.17 kB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.128, allocations: 43.42 kB / 452.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.128, allocations: 4 kB / 452.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.1404, allocations: 3.239 MB / 455.3 MB, free: 260 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.1406, allocations: 211.3 kB / 455.6 MB, free: 16 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.888, allocations: 0 / 455.6 MB, free: 16 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat