Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.0007902/0.0007903, allocations: 91.92 kB / 15.7 MB, free: 456 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.001247/0.001247, allocations: 175.3 kB / 16.58 MB, free: 6.398 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.587/1.587, allocations: 205.4 MB / 222.7 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.3475/0.3475, allocations: 43.54 MB / 314.6 MB, free: 8.707 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.000533/0.0005331, allocations: 12 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1145, allocations: 58.87 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002242/0.1168, allocations: 1.395 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.118, allocations: 0.7344 MB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1182, allocations: 3.938 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1185, allocations: 35.89 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.1187, allocations: 43.83 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.119, allocations: 79.83 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1192, allocations: 83.7 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.1193, allocations: 8.219 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1194, allocations: 43.78 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.1195, allocations: 31.84 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1195, allocations: 3.938 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1196, allocations: 35.98 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1197, allocations: 19.92 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.1197, allocations: 37.64 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1199, allocations: 88.09 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1199, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1199, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1199, allocations: 0 / 445.5 MB, free: 10.27 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.000502/0.1204, allocations: 406.8 kB / 445.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1205, allocations: 12.03 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1205, allocations: 30.56 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1206, allocations: 7.906 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1208, allocations: 215.3 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1208, allocations: 4 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1209, allocations: 4 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.121, allocations: 53.67 kB / 446.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.121, allocations: 7.938 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.121, allocations: 3.953 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1211, allocations: 4 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.1211, allocations: 15.98 kB / 446.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1215, allocations: 281 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1217, allocations: 58.61 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1217, allocations: 28.84 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1218, allocations: 0 / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.122, allocations: 71.34 kB / 446.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.122, allocations: 0 / 446.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005319/0.1225, allocations: 169.2 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1226, allocations: 55.39 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1227, allocations: 203.3 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1228, allocations: 25.7 kB / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.1228, allocations: 108.1 kB / 447.3 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1229, allocations: 23.66 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1229, allocations: 0 / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.123, allocations: 326.8 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.123, allocations: 23.98 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.1231, allocations: 37.7 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.1232, allocations: 20 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1232, allocations: 0 / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.1234, allocations: 113.4 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1234, allocations: 4 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1234, allocations: 0 / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.1234, allocations: 0 / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.1235, allocations: 16 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1235, allocations: 0 / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1236, allocations: 12.02 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1236, allocations: 0 / 447.8 MB, free: 7.742 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 9.492e-05/0.1237, allocations: 133.8 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1237, allocations: 15.84 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1238, allocations: 25.33 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1238, allocations: 0 / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1238, allocations: 0 / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1238, allocations: 0 / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.1242, allocations: 403.4 kB / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1242, allocations: 0 / 448.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1243, allocations: 15.92 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1243, allocations: 0 / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1243, allocations: 0 / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1243, allocations: 4 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1243, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1245, allocations: 208.3 kB / 448.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.1246, allocations: 96.91 kB / 448.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1246, allocations: 3.938 kB / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1247, allocations: 4 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1247, allocations: 7.984 kB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1247, allocations: 384 / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1249, allocations: 156.9 kB / 448.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1249, allocations: 4 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1251, allocations: 20 kB / 448.9 MB, free: 6.562 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.001357/0.1265, allocations: 1.101 MB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1267, allocations: 51.98 kB / 450 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1267, allocations: 4 kB / 450 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.1268, allocations: 31.92 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1271, allocations: 24.11 kB / 450.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1282, allocations: 0.7233 MB / 450.8 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1285, allocations: 0.7121 MB / 451.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.1285, allocations: 17.12 kB / 451.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1286, allocations: 39.41 kB / 451.6 MB, free: 3.793 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1286, allocations: 4 kB / 451.6 MB, free: 3.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.1426, allocations: 2.977 MB / 454.6 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.1428, allocations: 217.5 kB / 454.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.866, allocations: 4 kB / 454.8 MB, free: 0.5703 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat