Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001972/0.001972, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002249/0.002249, allocations: 215.5 kB / 23.78 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.94 MB / 360.9 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00319/0.00319, allocations: 80.2 kB / 0.4963 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3223, allocations: 66.09 MB / 0.5608 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003204/0.3255, allocations: 1.716 MB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.328, allocations: 1.668 MB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.328, allocations: 3.938 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3283, allocations: 39.72 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.3286, allocations: 95.59 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3288, allocations: 79.67 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.329, allocations: 111.7 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.3291, allocations: 9.828 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.3292, allocations: 55.72 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3293, allocations: 39.83 kB / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3293, allocations: 4 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.3295, allocations: 107.9 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.3296, allocations: 15.92 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.3296, allocations: 31.92 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.33, allocations: 167.4 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.33, allocations: 0 / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.33, allocations: 0 / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.33, allocations: 4 kB / 0.5649 GB, free: 15.8 MB / 414.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.0005778/0.3306, allocations: 357.5 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3306, allocations: 8.031 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3306, allocations: 30.75 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.3307, allocations: 12.84 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3309, allocations: 146.9 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.331, allocations: 384 / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.331, allocations: 7.938 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.3312, allocations: 101.1 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3312, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3312, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3312, allocations: 7.938 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.3313, allocations: 23.92 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3317, allocations: 256 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3318, allocations: 66.61 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.3319, allocations: 20.84 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3319, allocations: 3.938 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3321, allocations: 67.39 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3321, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006243/0.3327, allocations: 185.3 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.3328, allocations: 77.11 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.333, allocations: 174.5 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.333, allocations: 29.7 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.3331, allocations: 92.14 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3331, allocations: 31.73 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3332, allocations: 21.72 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3333, allocations: 322.8 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.3334, allocations: 23.98 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.3335, allocations: 68.27 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3336, allocations: 69.67 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3336, allocations: 0 / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.3338, allocations: 105.5 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3339, allocations: 4 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3339, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3339, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.334, allocations: 16 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.334, allocations: 0 / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.334, allocations: 15.92 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.334, allocations: 4.031 kB / 0.5671 GB, free: 13.26 MB / 414.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3342, allocations: 117.8 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3342, allocations: 7.953 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.3345, allocations: 122.5 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3345, allocations: 0 / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.3345, allocations: 4 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3345, allocations: 8.203 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.335, allocations: 370.4 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.335, allocations: 0 / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.335, allocations: 23.84 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.335, allocations: 7.938 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3351, allocations: 4.359 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3351, allocations: 3.984 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3351, allocations: 4 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.3353, allocations: 216.2 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.3354, allocations: 7.953 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.3354, allocations: 11.94 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.3355, allocations: 3.984 kB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3355, allocations: 7.984 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3356, allocations: 8 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3357, allocations: 131.9 kB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3357, allocations: 0 / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.336, allocations: 51.81 kB / 0.5682 GB, free: 12.09 MB / 414.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002603/0.3386, allocations: 1.218 MB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3388, allocations: 63.84 kB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3388, allocations: 0 / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.3389, allocations: 31.92 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3393, allocations: 26.48 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3413, allocations: 1.6 MB / 0.5711 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.3414, allocations: 89.56 kB / 0.5711 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.647e-05/0.3414, allocations: 21.27 kB / 0.5712 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.3415, allocations: 36.48 kB / 0.5712 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3415, allocations: 0 / 0.5712 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.3735, allocations: 4.837 MB / 0.5759 GB, free: 4.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 0 / 0.5759 GB, free: 4.242 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.597078588034492]