Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001045/0.001045, allocations: 96.62 kB / 15.7 MB, free: 468 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.001245/0.001245, allocations: 169 kB / 16.57 MB, free: 5.684 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.528/1.528, allocations: 205.4 MB / 222.7 MB, free: 5.586 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.3763/0.3763, allocations: 43.55 MB / 314.6 MB, free: 9.035 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.0005164/0.0005167, allocations: 16 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1137, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00196/0.1157, allocations: 1.387 MB / 444.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1169, allocations: 0.7422 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.117, allocations: 0 / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1173, allocations: 87.75 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1175, allocations: 71.73 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1177, allocations: 79.83 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1179, allocations: 87.75 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.118, allocations: 12.2 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.1181, allocations: 51.77 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1182, allocations: 51.81 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1182, allocations: 4 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.1183, allocations: 39.92 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.1184, allocations: 23.92 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1184, allocations: 37.64 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1186, allocations: 92.08 kB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1186, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1186, allocations: 0 / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1186, allocations: 0 / 445.6 MB, free: 10.4 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.0004527/0.1191, allocations: 414.8 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1191, allocations: 12.03 kB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.1191, allocations: 34.56 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1192, allocations: 11.81 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1194, allocations: 214.8 kB / 446.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1194, allocations: 4 kB / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1194, allocations: 0 / 446.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1196, allocations: 57.61 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1196, allocations: 0 / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1196, allocations: 3.953 kB / 446.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1196, allocations: 4 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.901e-05/0.1197, allocations: 19.98 kB / 446.4 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1201, allocations: 288.9 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1202, allocations: 58.61 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.1203, allocations: 20.84 kB / 446.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1203, allocations: 4 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.1204, allocations: 71.34 kB / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1205, allocations: 0 / 446.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.1209, allocations: 173.2 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.121, allocations: 51.41 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1212, allocations: 222.6 kB / 447.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1212, allocations: 25.7 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1212, allocations: 112.1 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1213, allocations: 27.64 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1213, allocations: 0 / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.1214, allocations: 326.8 kB / 447.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.1214, allocations: 23.98 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.1215, allocations: 41.58 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.1216, allocations: 20 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1216, allocations: 4 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/0.1218, allocations: 101.5 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1218, allocations: 11.88 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1218, allocations: 0 / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1218, allocations: 0 / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.1219, allocations: 20.38 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1219, allocations: 0 / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1219, allocations: 7.984 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.122, allocations: 4 kB / 448 MB, free: 7.82 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.658e-05/0.1221, allocations: 133.9 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1221, allocations: 19.77 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1221, allocations: 13.41 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1221, allocations: 4 kB / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1222, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1222, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.1225, allocations: 403.3 kB / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1226, allocations: 0 / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.1226, allocations: 11.94 kB / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1226, allocations: 0 / 448.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1226, allocations: 7.984 kB / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1226, allocations: 0 / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1226, allocations: 0 / 448.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1229, allocations: 216.4 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.123, allocations: 89.02 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.123, allocations: 4 kB / 448.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1231, allocations: 0 / 448.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1231, allocations: 7.984 kB / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1232, allocations: 4 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1233, allocations: 176.2 kB / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 449.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1236, allocations: 27.91 kB / 449.1 MB, free: 6.617 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.001261/0.1249, allocations: 1.102 MB / 450.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.125, allocations: 55.92 kB / 450.2 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.125, allocations: 0 / 450.2 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1251, allocations: 31.92 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1254, allocations: 24.11 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1265, allocations: 0.793 MB / 451.1 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1268, allocations: 0.7082 MB / 451.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.1268, allocations: 17.17 kB / 451.8 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.1269, allocations: 39.42 kB / 451.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1269, allocations: 0 / 451.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.14, allocations: 3.099 MB / 454.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1402, allocations: 213.5 kB / 455.2 MB, free: 468 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.865, allocations: 0 / 455.2 MB, free: 468 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat