Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001547/0.001547, allocations: 96.28 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.002089/0.002089, allocations: 178.7 kB / 16.57 MB, free: 6.852 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.932/1.932, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4758/0.4758, allocations: 43.55 MB / 314.5 MB, free: 8.754 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.0008934/0.0008938, allocations: 19.98 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2174, allocations: 58.86 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003696/0.2212, allocations: 1.462 MB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2234, allocations: 0.8084 MB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2236, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.2243, allocations: 287.4 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.2248, allocations: 195.5 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.2254, allocations: 127.7 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.2257, allocations: 151.7 kB / 445.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.2258, allocations: 17.55 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2261, allocations: 115.6 kB / 446 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.2263, allocations: 143.6 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.2264, allocations: 4 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2265, allocations: 24 kB / 446.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.2267, allocations: 143.6 kB / 446.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2269, allocations: 77.45 kB / 446.4 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2273, allocations: 271.8 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2273, allocations: 0 / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.2273, allocations: 0 / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2274, allocations: 4 kB / 446.7 MB, free: 9.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001269/0.2286, allocations: 0.6803 MB / 447.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.2287, allocations: 8.031 kB / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.2288, allocations: 38.5 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2289, allocations: 47.34 kB / 447.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.2297, allocations: 419.1 kB / 447.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2298, allocations: 4 kB / 447.8 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.2298, allocations: 8 kB / 447.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2301, allocations: 83.36 kB / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2301, allocations: 0 / 447.9 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2302, allocations: 7.953 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2302, allocations: 0 / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.2303, allocations: 35.89 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.231, allocations: 378.3 kB / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2314, allocations: 109.3 kB / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2314, allocations: 0 / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.2318, allocations: 121 kB / 448.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.2318, allocations: 0 / 448.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006853/0.2325, allocations: 193 kB / 448.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.2326, allocations: 85.06 kB / 448.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.2343, allocations: 1.034 MB / 449.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2343, allocations: 25.7 kB / 449.9 MB, free: 5.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2346, allocations: 236.1 kB / 450.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.2347, allocations: 31.64 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.2347, allocations: 4 kB / 450.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.235, allocations: 370.8 kB / 450.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2351, allocations: 27.98 kB / 450.6 MB, free: 4.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2352, allocations: 51.42 kB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2354, allocations: 35.98 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2354, allocations: 0 / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004309/0.2358, allocations: 168.9 kB / 450.8 MB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2359, allocations: 4 kB / 450.8 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2359, allocations: 0 / 450.8 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.2359, allocations: 4 kB / 450.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2361, allocations: 23.98 kB / 450.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.2362, allocations: 7.953 kB / 450.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2363, allocations: 15.98 kB / 450.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2364, allocations: 4 kB / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003668/0.2367, allocations: 233.5 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.2368, allocations: 51.28 kB / 451.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.237, allocations: 60 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.237, allocations: 0 / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.237, allocations: 4.625 kB / 451.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.237, allocations: 3.953 kB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.2375, allocations: 341.5 kB / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2375, allocations: 0 / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.2376, allocations: 8 kB / 451.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.2376, allocations: 4 kB / 451.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2376, allocations: 0 / 451.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2376, allocations: 0 / 451.6 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2376, allocations: 4 kB / 451.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.2381, allocations: 222.8 kB / 451.8 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.2384, allocations: 144.4 kB / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.2384, allocations: 3.984 kB / 451.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2386, allocations: 4 kB / 451.9 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.2387, allocations: 19.88 kB / 451.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.2387, allocations: 8 kB / 452 MB, free: 3.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.2399, allocations: 0.7682 MB / 452.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2399, allocations: 0 / 452.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000424/0.2404, allocations: 48 kB / 452.8 MB, free: 2.648 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002138/0.2425, allocations: 1.131 MB / 453.9 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.2429, allocations: 83.89 kB / 454 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2429, allocations: 0 / 454 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2431, allocations: 43.92 kB / 454 MB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.2436, allocations: 58.22 kB / 454.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/0.5126, allocations: 3.263 MB / 457.3 MB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.513, allocations: 0.8516 MB / 458.2 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.5131, allocations: 52.95 kB / 458.2 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5133, allocations: 144.6 kB / 458.4 MB, free: 45 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5133, allocations: 0 / 458.4 MB, free: 45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.5339, allocations: 8.026 MB / 466.4 MB, free: 44.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.5342, allocations: 208.5 kB / 466.6 MB, free: 44.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.382, allocations: 0 / 466.6 MB, free: 44.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat