Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001381/0.001381, allocations: 83.36 kB / 20.49 MB, free: 1.387 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.00152/0.00152, allocations: 160.2 kB / 23.74 MB, free: 4.586 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.45/1.45, allocations: 177.1 MB / 204 MB, free: 9.266 MB / 190.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.2142/0.2142, allocations: 34.26 MB / 294.7 MB, free: 14.65 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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 79.88 kB / 442 MB, free: 5.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 66.06 MB / 0.4961 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003477/0.3369, allocations: 1.725 MB / 0.4978 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3388, allocations: 0.9545 MB / 0.4987 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.3389, allocations: 0 / 0.4987 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.3392, allocations: 59.75 kB / 0.4988 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.3396, allocations: 111.5 kB / 0.4989 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.3398, allocations: 75.73 kB / 0.499 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.34, allocations: 103.7 kB / 0.4991 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.3401, allocations: 10.05 kB / 0.4991 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3403, allocations: 63.75 kB / 0.4991 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3403, allocations: 35.8 kB / 0.4992 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3404, allocations: 4 kB / 0.4992 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3405, allocations: 39.98 kB / 0.4992 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.3405, allocations: 43.77 kB / 0.4993 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.3406, allocations: 27.81 kB / 0.4993 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.3409, allocations: 135.4 kB / 0.4994 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3409, allocations: 4 kB / 0.4994 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3409, allocations: 0 / 0.4994 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3409, allocations: 0 / 0.4994 GB, free: 14.25 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.0006241/0.3415, allocations: 377.3 kB / 0.4998 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3415, allocations: 12.03 kB / 0.4998 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.3416, allocations: 34.75 kB / 0.4998 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.3416, allocations: 12.84 kB / 0.4998 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.3419, allocations: 163.2 kB / 0.5 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3419, allocations: 384 / 0.5 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.342, allocations: 4.375 kB / 0.5 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3421, allocations: 57.8 kB / 0.5 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3421, allocations: 3.984 kB / 0.5 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3422, allocations: 0 / 0.5 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3422, allocations: 0 / 0.5 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.3422, allocations: 27.98 kB / 0.5001 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3427, allocations: 275.8 kB / 0.5003 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3429, allocations: 54.67 kB / 0.5004 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.3429, allocations: 28.78 kB / 0.5004 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3429, allocations: 0 / 0.5004 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3431, allocations: 71.33 kB / 0.5005 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3431, allocations: 0 / 0.5005 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006221/0.3437, allocations: 185.4 kB / 0.5007 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3438, allocations: 63.34 kB / 0.5007 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3441, allocations: 274.8 kB / 0.501 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3441, allocations: 33.7 kB / 0.501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.3442, allocations: 112.1 kB / 0.5011 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3442, allocations: 27.78 kB / 0.5011 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.3443, allocations: 21.72 kB / 0.5012 GB, free: 12.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.3445, allocations: 334.8 kB / 0.5015 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.3446, allocations: 19.98 kB / 0.5015 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.3447, allocations: 37.64 kB / 0.5015 GB, free: 11.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3448, allocations: 69.64 kB / 0.5016 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3448, allocations: 0 / 0.5016 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.345, allocations: 113.5 kB / 0.5017 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.345, allocations: 8 kB / 0.5017 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.345, allocations: 0 / 0.5017 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.345, allocations: 0 / 0.5017 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3452, allocations: 15.94 kB / 0.5017 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3452, allocations: 4 kB / 0.5017 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3452, allocations: 3.984 kB / 0.5017 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3452, allocations: 4 kB / 0.5018 GB, free: 11.64 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.0001307/0.3453, allocations: 142.7 kB / 0.5019 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3454, allocations: 15.91 kB / 0.5019 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3457, allocations: 131.2 kB / 0.502 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3457, allocations: 0 / 0.502 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3457, allocations: 0 / 0.502 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3457, allocations: 0 / 0.502 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.3462, allocations: 390.3 kB / 0.5024 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3462, allocations: 4 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3463, allocations: 8 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3463, allocations: 4.031 kB / 0.5024 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3463, allocations: 3.984 kB / 0.5024 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.3463, allocations: 7.938 kB / 0.5024 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3463, allocations: 3.938 kB / 0.5024 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3466, allocations: 216.2 kB / 0.5026 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.3466, allocations: 11.91 kB / 0.5026 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3466, allocations: 4 kB / 0.5027 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.3467, allocations: 12.3 kB / 0.5027 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3467, allocations: 12.3 kB / 0.5027 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3467, allocations: 4 kB / 0.5027 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.347, allocations: 208.6 kB / 0.5029 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.347, allocations: 0 / 0.5029 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3472, allocations: 39.81 kB / 0.5029 GB, free: 10.35 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.002381/0.3496, allocations: 1.125 MB / 0.504 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3498, allocations: 63.84 kB / 0.5041 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3498, allocations: 0 / 0.5041 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.3499, allocations: 27.98 kB / 0.5041 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3503, allocations: 27.97 kB / 0.5041 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3527, allocations: 1.848 MB / 0.5059 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3528, allocations: 109.2 kB / 0.506 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.3529, allocations: 21.27 kB / 0.5061 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.353, allocations: 44.48 kB / 0.5061 GB, free: 7.137 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.353, allocations: 0 / 0.5061 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.3859, allocations: 4.579 MB / 0.5106 GB, free: 2.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 10.92 kB / 0.5106 GB, free: 2.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.934336049016565]