Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.001014/0.001014, 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.0009382/0.0009383, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.868/1.868, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4443/0.4443, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.001002/0.001002, allocations: 19.98 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2056, allocations: 58.84 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00291/0.2086, allocations: 1.391 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2104, allocations: 0.7344 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2105, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.2109, allocations: 35.78 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.2111, allocations: 47.86 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.2115, allocations: 79.78 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2117, allocations: 55.92 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2118, allocations: 20.19 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.212, allocations: 39.8 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.2121, allocations: 27.84 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2121, allocations: 0 / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.2122, allocations: 35.92 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.2123, allocations: 15.92 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2124, allocations: 41.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2126, allocations: 88.08 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2126, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2126, allocations: 0 / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2127, allocations: 4 kB / 445.5 MB, free: 10.33 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.0007089/0.2134, allocations: 410.8 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2134, allocations: 8.031 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.2135, allocations: 34.56 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.2136, allocations: 15.81 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2139, allocations: 210.8 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2139, allocations: 4 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.214, allocations: 4 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2142, allocations: 61.61 kB / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2142, allocations: 0 / 446.2 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2142, allocations: 3.953 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2143, allocations: 0 / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2144, allocations: 23.98 kB / 446.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2149, allocations: 284.9 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2151, allocations: 62.61 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2152, allocations: 4 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.2155, allocations: 67.47 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.2155, allocations: 0 / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007801/0.2163, allocations: 173.2 kB / 446.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2163, allocations: 51.41 kB / 446.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.2167, allocations: 226.6 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2167, allocations: 33.64 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2168, allocations: 108.1 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.2169, allocations: 27.64 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.2169, allocations: 0 / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2171, allocations: 322.8 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.2171, allocations: 20 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.2173, allocations: 37.64 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.2173, allocations: 31.92 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2174, allocations: 0 / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002663/0.2176, allocations: 105.5 kB / 447.7 MB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2177, allocations: 4 kB / 447.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2177, allocations: 0 / 447.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2177, allocations: 4 kB / 447.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2178, allocations: 15.98 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2179, allocations: 0 / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.218, allocations: 8.031 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.218, allocations: 8.156 kB / 447.8 MB, free: 7.773 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.0001461/0.2181, allocations: 125.8 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.2182, allocations: 15.77 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.2182, allocations: 25.38 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2183, allocations: 0 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2183, allocations: 0 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2183, allocations: 0 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.2189, allocations: 403.3 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2189, allocations: 384 / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.219, allocations: 19.91 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.219, allocations: 4 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.219, allocations: 4 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.219, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.219, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.2194, allocations: 225.9 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.2194, allocations: 89 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.2195, allocations: 4 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2196, allocations: 4 kB / 448.7 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.2197, allocations: 3.984 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2197, allocations: 7.938 kB / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.2199, allocations: 176.5 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2199, allocations: 0 / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2204, allocations: 35.83 kB / 448.9 MB, free: 6.543 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.002095/0.2225, allocations: 1.16 MB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2228, allocations: 55.91 kB / 450.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2228, allocations: 0 / 450.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2229, allocations: 40.05 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2233, allocations: 24.11 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.2252, allocations: 0.9168 MB / 451.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2255, allocations: 0.7199 MB / 451.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.019e-05/0.2256, allocations: 16.88 kB / 451.8 MB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.2257, allocations: 43.41 kB / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2257, allocations: 0 / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.2447, allocations: 3.087 MB / 455 MB, free: 420 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.245, allocations: 208.5 kB / 455.2 MB, free: 180 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.967, allocations: 0 / 455.2 MB, free: 180 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat