Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001644/0.001644, allocations: 80.64 kB / 20.49 MB, free: 1.211 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.002084/0.002084, allocations: 164 kB / 23.75 MB, free: 4.234 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.467/1.467, 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.231/0.231, allocations: 34.26 MB / 294.7 MB, free: 14.65 MB / 286.1 MB " [Timeout remaining time 179] 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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 79.88 kB / 442 MB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3404, allocations: 66.06 MB / 0.4961 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003217/0.3436, allocations: 1.677 MB / 0.4977 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3454, allocations: 0.9466 MB / 0.4987 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.3455, allocations: 4 kB / 0.4987 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3459, allocations: 67.73 kB / 0.4987 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.3462, allocations: 99.58 kB / 0.4988 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3464, allocations: 75.73 kB / 0.4989 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3466, allocations: 111.6 kB / 0.499 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3466, allocations: 4.234 kB / 0.499 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3468, allocations: 63.75 kB / 0.4991 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3469, allocations: 47.78 kB / 0.4991 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3469, allocations: 4 kB / 0.4991 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.347, allocations: 35.92 kB / 0.4992 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.347, allocations: 31.91 kB / 0.4992 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.3471, allocations: 19.81 kB / 0.4992 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3473, allocations: 105.7 kB / 0.4993 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3473, allocations: 0 / 0.4993 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3473, allocations: 0 / 0.4993 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3473, allocations: 4 kB / 0.4993 GB, free: 14.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006354/0.3479, allocations: 337.6 kB / 0.4996 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.348, allocations: 8.031 kB / 0.4996 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.348, allocations: 30.75 kB / 0.4997 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3481, allocations: 20.78 kB / 0.4997 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3483, allocations: 155 kB / 0.4998 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3484, allocations: 4.375 kB / 0.4998 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3484, allocations: 4.359 kB / 0.4998 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3485, allocations: 53.8 kB / 0.4999 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3485, allocations: 0 / 0.4999 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3485, allocations: 0 / 0.4999 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3485, allocations: 0 / 0.4999 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.3486, allocations: 15.98 kB / 0.4999 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.3488, allocations: 152.7 kB / 0.5001 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.349, allocations: 66.48 kB / 0.5001 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.3491, allocations: 20.84 kB / 0.5001 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3491, allocations: 0 / 0.5001 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3493, allocations: 67.33 kB / 0.5002 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3493, allocations: 0 / 0.5002 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003004/0.3496, allocations: 105.5 kB / 0.5003 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3496, allocations: 51.41 kB / 0.5004 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3498, allocations: 202.3 kB / 0.5005 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3498, allocations: 29.7 kB / 0.5006 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.3499, allocations: 108.1 kB / 0.5007 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3499, allocations: 15.91 kB / 0.5007 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.35, allocations: 17.72 kB / 0.5007 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3501, allocations: 322.8 kB / 0.501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3502, allocations: 15.98 kB / 0.501 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.3503, allocations: 33.7 kB / 0.5011 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3504, allocations: 49.89 kB / 0.5011 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3504, allocations: 0 / 0.5011 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/0.3505, allocations: 89.53 kB / 0.5012 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3505, allocations: 8 kB / 0.5012 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3506, allocations: 0 / 0.5012 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3506, allocations: 0 / 0.5012 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.3506, allocations: 15.92 kB / 0.5012 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3507, allocations: 0 / 0.5012 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.3507, allocations: 7.938 kB / 0.5012 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3507, allocations: 4 kB / 0.5012 GB, free: 12.3 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 (7): * Single equations (assignments): 7 * 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.0001535/0.3509, allocations: 126.7 kB / 0.5014 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3509, allocations: 11.89 kB / 0.5014 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3511, allocations: 98.8 kB / 0.5015 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3511, allocations: 0 / 0.5015 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3511, allocations: 0 / 0.5015 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3511, allocations: 3.984 kB / 0.5015 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3513, allocations: 156.7 kB / 0.5016 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3513, allocations: 3.938 kB / 0.5016 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.3513, allocations: 4 kB / 0.5016 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3513, allocations: 0 / 0.5016 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3514, allocations: 8 kB / 0.5016 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3514, allocations: 0 / 0.5016 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.3514, allocations: 3.984 kB / 0.5016 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3516, allocations: 117.2 kB / 0.5017 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.3516, allocations: 15.84 kB / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3516, allocations: 0 / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.3517, allocations: 4 kB / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3517, allocations: 19.84 kB / 0.5018 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3517, allocations: 4 kB / 0.5018 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3519, allocations: 152.2 kB / 0.5019 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3519, allocations: 3.938 kB / 0.5019 GB, free: 11.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.3521, allocations: 15.94 kB / 0.502 GB, free: 11.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002076/0.3542, allocations: 0.981 MB / 0.5029 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3543, allocations: 47.91 kB / 0.503 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3543, allocations: 0 / 0.503 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.3544, allocations: 19.98 kB / 0.503 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3546, allocations: 19.98 kB / 0.503 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3565, allocations: 1.526 MB / 0.5045 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.3566, allocations: 97.44 kB / 0.5046 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.282e-05/0.3566, allocations: 20.33 kB / 0.5046 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.3567, allocations: 32.48 kB / 0.5046 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3567, allocations: 0 / 0.5046 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.3887, allocations: 3.937 MB / 0.5085 GB, free: 4.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 15.44 kB / 0.5085 GB, free: 4.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.878972111269832]