Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001202/0.001203, allocations: 97.38 kB / 15.69 MB, free: 480 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.002106/0.002106, allocations: 172.5 kB / 16.57 MB, free: 6.391 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.642/1.642, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3524/0.3524, allocations: 43.54 MB / 314.5 MB, free: 8.719 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.0005274/0.0005276, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002065/0.1225, allocations: 1.388 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1237, allocations: 0.7306 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.1237, allocations: 4 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.124, allocations: 35.77 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1242, allocations: 39.89 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.1244, allocations: 71.78 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1246, allocations: 55.92 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.1247, allocations: 8.219 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.1248, allocations: 47.77 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.1248, allocations: 27.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1249, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.1249, allocations: 27.92 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.125, allocations: 15.98 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.125, allocations: 37.64 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1252, allocations: 80.09 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1252, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1252, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1252, allocations: 0 / 445.4 MB, free: 10.39 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.0005172/0.1257, allocations: 410.7 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1258, allocations: 8.031 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.1258, allocations: 34.56 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1258, allocations: 7.906 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1261, allocations: 202.8 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1261, allocations: 4 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1261, allocations: 0 / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1262, allocations: 53.67 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1263, allocations: 0 / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1263, allocations: 7.953 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1263, allocations: 4 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.1264, allocations: 19.92 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1267, allocations: 281 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1268, allocations: 54.67 kB / 446.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1269, allocations: 7.984 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.1272, allocations: 75.41 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1272, allocations: 0 / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004754/0.1276, allocations: 169.5 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.1278, allocations: 51.41 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1279, allocations: 166.2 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.1281, allocations: 33.7 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.1282, allocations: 104.1 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1282, allocations: 23.66 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1282, allocations: 0 / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1284, allocations: 322.8 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.1285, allocations: 19.98 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.1286, allocations: 33.7 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.1286, allocations: 28 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1286, allocations: 8 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1288, allocations: 109.5 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1289, allocations: 4 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1289, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1289, allocations: 4 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.129, allocations: 20 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.129, allocations: 0 / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1291, allocations: 7.984 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1291, allocations: 0 / 447.6 MB, free: 7.926 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.0001025/0.1292, allocations: 133.8 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1292, allocations: 19.77 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1293, allocations: 16.7 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1293, allocations: 192 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1293, allocations: 0 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1293, allocations: 3.938 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1298, allocations: 383.3 kB / 448.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1298, allocations: 8.031 kB / 448.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1298, allocations: 8 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1298, allocations: 0 / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1298, allocations: 7.984 kB / 448.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1298, allocations: 0 / 448.2 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1299, allocations: 4 kB / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1301, allocations: 217.9 kB / 448.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1302, allocations: 88.92 kB / 448.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1302, allocations: 7.984 kB / 448.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.1303, allocations: 4 kB / 448.5 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1303, allocations: 4 kB / 448.5 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1304, allocations: 7.984 kB / 448.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1305, allocations: 135.9 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1305, allocations: 0 / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1308, allocations: 20 kB / 448.7 MB, free: 6.77 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.001463/0.1322, allocations: 1.179 MB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1324, allocations: 63.89 kB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1324, allocations: 0 / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.1325, allocations: 23.98 kB / 450 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1328, allocations: 23.98 kB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.1341, allocations: 0.8344 MB / 450.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1345, allocations: 0.7079 MB / 451.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.317e-05/0.1345, allocations: 16.88 kB / 451.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.1346, allocations: 31.42 kB / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1346, allocations: 4 kB / 451.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.1475, allocations: 2.85 MB / 454.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.1477, allocations: 208.5 kB / 454.6 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/1.912, allocations: 3.938 kB / 454.6 MB, free: 0.7227 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat