Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001452/0.001452, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001615/0.001615, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2229/0.2229, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 87.84 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003486/0.3358, allocations: 1.79 MB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3386, allocations: 1.735 MB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.3386, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.339, allocations: 55.69 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.3394, allocations: 139.3 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.3397, allocations: 107.7 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.34, allocations: 211.3 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.34, allocations: 5.812 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3402, allocations: 87.56 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3403, allocations: 75.62 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.3404, allocations: 8 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3406, allocations: 115.9 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3406, allocations: 35.84 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.3407, allocations: 55.66 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.341, allocations: 224.9 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.341, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.341, allocations: 4 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3411, allocations: 0 / 0.5653 GB, free: 15.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007006/0.3418, allocations: 432.8 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3418, allocations: 8.031 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.3418, allocations: 42.73 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.3419, allocations: 20.84 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.3422, allocations: 182.2 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3422, allocations: 4.375 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3423, allocations: 8.375 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.3425, allocations: 156.5 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3425, allocations: 0 / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3426, allocations: 3.984 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3426, allocations: 7.938 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3427, allocations: 27.98 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.3429, allocations: 185.7 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3432, allocations: 109.2 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.3433, allocations: 37.7 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3433, allocations: 0 / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.3436, allocations: 112.9 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3436, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004661/0.344, allocations: 181.8 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.3441, allocations: 132.5 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3444, allocations: 250.2 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3444, allocations: 29.7 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.3445, allocations: 116.1 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.3446, allocations: 35.72 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.3446, allocations: 25.72 kB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3448, allocations: 334.8 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.3449, allocations: 28.11 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.345, allocations: 136.5 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.3452, allocations: 95.34 kB / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3452, allocations: 0 / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002845/0.3455, allocations: 141.4 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3455, allocations: 4 kB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3455, allocations: 4 kB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3455, allocations: 3.984 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3456, allocations: 24.09 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3457, allocations: 4 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.3457, allocations: 11.94 kB / 0.568 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3458, allocations: 4 kB / 0.568 GB, free: 12.23 MB / 414.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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001241/0.3459, allocations: 133.8 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3459, allocations: 19.84 kB / 0.5682 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.3463, allocations: 170.9 kB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.3463, allocations: 11.98 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3463, allocations: 4 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3463, allocations: 0 / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3465, allocations: 180.6 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3465, allocations: 3.938 kB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.3466, allocations: 19.94 kB / 0.5686 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3466, allocations: 0 / 0.5686 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3466, allocations: 7.984 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3466, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3466, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3469, allocations: 185.7 kB / 0.5687 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.347, allocations: 23.8 kB / 0.5688 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.347, allocations: 8 kB / 0.5688 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.3471, allocations: 11.98 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3471, allocations: 7.984 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3472, allocations: 4 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.3474, allocations: 192.5 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3474, allocations: 0 / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3476, allocations: 51.88 kB / 0.569 GB, free: 11.13 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002388/0.35, allocations: 1.145 MB / 0.5701 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3503, allocations: 87.89 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3503, allocations: 3.938 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3504, allocations: 44.3 kB / 0.5703 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3508, allocations: 56.73 kB / 0.5703 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.353, allocations: 1.904 MB / 0.5722 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.3532, allocations: 119.6 kB / 0.5723 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.467e-05/0.3533, allocations: 25.47 kB / 0.5723 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3534, allocations: 55.41 kB / 0.5724 GB, free: 7.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3534, allocations: 0 / 0.5724 GB, free: 7.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.3889, allocations: 6.232 MB / 0.5785 GB, free: 1.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 17.19 kB / 0.5785 GB, free: 1.504 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.743366594891995]