Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001332/0.001332, allocations: 83.52 kB / 20.49 MB, free: 1.391 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.001462/0.001462, allocations: 160.2 kB / 23.74 MB, free: 4.59 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.474/1.474, allocations: 177.1 MB / 204 MB, free: 9.273 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.219/0.219, 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.88 kB / 442 MB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3179, allocations: 66.06 MB / 0.4961 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003367/0.3213, allocations: 1.71 MB / 0.4978 GB, free: 36 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3232, allocations: 0.9738 MB / 0.4987 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.3232, allocations: 0 / 0.4987 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.3236, allocations: 83.7 kB / 0.4988 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.324, allocations: 115.6 kB / 0.4989 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.3242, allocations: 75.69 kB / 0.499 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3244, allocations: 119.7 kB / 0.4991 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.3245, allocations: 13.98 kB / 0.4991 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3246, allocations: 75.73 kB / 0.4992 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3247, allocations: 55.81 kB / 0.4992 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3247, allocations: 4 kB / 0.4993 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.3248, allocations: 43.98 kB / 0.4993 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.3249, allocations: 23.92 kB / 0.4993 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3249, allocations: 39.72 kB / 0.4994 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3252, allocations: 127.4 kB / 0.4995 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3252, allocations: 0 / 0.4995 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3252, allocations: 0 / 0.4995 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3252, allocations: 0 / 0.4995 GB, free: 14.29 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.0005557/0.3257, allocations: 361.4 kB / 0.4998 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3258, allocations: 8.031 kB / 0.4998 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.3258, allocations: 30.75 kB / 0.4999 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.3259, allocations: 16.84 kB / 0.4999 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.3261, allocations: 158.3 kB / 0.5 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3261, allocations: 4.375 kB / 0.5 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3262, allocations: 4.375 kB / 0.5 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3263, allocations: 61.73 kB / 0.5001 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3263, allocations: 0 / 0.5001 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3263, allocations: 0 / 0.5001 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3263, allocations: 0 / 0.5001 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.3264, allocations: 23.97 kB / 0.5001 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3268, allocations: 263.9 kB / 0.5004 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.327, allocations: 58.61 kB / 0.5004 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.327, allocations: 20.86 kB / 0.5004 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3271, allocations: 0 / 0.5004 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3272, allocations: 71.38 kB / 0.5005 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3272, allocations: 0 / 0.5005 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005654/0.3278, allocations: 185.3 kB / 0.5007 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3278, allocations: 51.41 kB / 0.5007 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3281, allocations: 227.5 kB / 0.501 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.3281, allocations: 33.7 kB / 0.501 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.3282, allocations: 104.1 kB / 0.5011 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3282, allocations: 27.8 kB / 0.5011 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3283, allocations: 29.7 kB / 0.5011 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3284, allocations: 330.8 kB / 0.5015 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3285, allocations: 23.98 kB / 0.5015 GB, free: 12.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.3286, allocations: 45.58 kB / 0.5015 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3287, allocations: 61.69 kB / 0.5016 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3287, allocations: 0 / 0.5016 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.3289, allocations: 105.5 kB / 0.5017 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3289, allocations: 12.03 kB / 0.5017 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3289, allocations: 0 / 0.5017 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3289, allocations: 0 / 0.5017 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.329, allocations: 15.98 kB / 0.5017 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.329, allocations: 4 kB / 0.5017 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3291, allocations: 4 kB / 0.5017 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.3291, allocations: 4 kB / 0.5017 GB, free: 11.78 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.0001169/0.3292, allocations: 138.6 kB / 0.5019 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.3292, allocations: 11.91 kB / 0.5019 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3295, allocations: 127.2 kB / 0.502 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3295, allocations: 4 kB / 0.502 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3295, allocations: 3.984 kB / 0.502 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3295, allocations: 0 / 0.502 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.33, allocations: 378.4 kB / 0.5024 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.33, allocations: 0 / 0.5024 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.33, allocations: 8 kB / 0.5024 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.33, allocations: 0 / 0.5024 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3301, allocations: 7.984 kB / 0.5024 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3301, allocations: 7.922 kB / 0.5024 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3301, allocations: 0 / 0.5024 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3303, allocations: 224.3 kB / 0.5026 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.3304, allocations: 11.91 kB / 0.5026 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3304, allocations: 4 kB / 0.5026 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.3305, allocations: 8.297 kB / 0.5026 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3305, allocations: 8.375 kB / 0.5026 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3305, allocations: 7.984 kB / 0.5026 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3307, allocations: 169.1 kB / 0.5028 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3307, allocations: 0 / 0.5028 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3309, allocations: 31.88 kB / 0.5028 GB, free: 10.56 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.002263/0.3332, allocations: 1.131 MB / 0.5039 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3334, allocations: 59.84 kB / 0.504 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3334, allocations: 4 kB / 0.504 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.3335, allocations: 35.98 kB / 0.504 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.3338, allocations: 27.73 kB / 0.504 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3357, allocations: 1.725 MB / 0.5057 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3358, allocations: 104.6 kB / 0.5058 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.3359, allocations: 17.34 kB / 0.5058 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.336, allocations: 44.47 kB / 0.5059 GB, free: 7.469 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.336, allocations: 0 / 0.5059 GB, free: 7.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3665, allocations: 4.355 MB / 0.5101 GB, free: 3.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.97, allocations: 10.72 kB / 0.5102 GB, free: 3.117 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.9816884980537]