Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005603/0.005604, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.279/0.279, allocations: 43.49 MB / 313.5 MB, free: 8.535 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.91 kB / 382.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09614, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002788/0.09897, allocations: 1.9 MB / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1002, allocations: 0.8858 MB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.1003, allocations: 0 / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1006, allocations: 159.6 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1009, allocations: 115.7 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1012, allocations: 143.7 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1014, allocations: 211.3 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.1015, allocations: 21.55 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1017, allocations: 95.55 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1018, allocations: 115.6 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1018, allocations: 8 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.1019, allocations: 43.92 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.102, allocations: 51.81 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.1021, allocations: 67.42 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1023, allocations: 183.6 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1023, allocations: 0 / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1023, allocations: 0 / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1023, allocations: 3.938 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006099/0.1029, allocations: 0.5098 MB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.103, allocations: 16.03 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.103, allocations: 38.73 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1031, allocations: 24.66 kB / 444.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1033, allocations: 263.6 kB / 444.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1033, allocations: 4.375 kB / 444.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1034, allocations: 15.92 kB / 444.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1036, allocations: 103.2 kB / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1036, allocations: 0 / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1036, allocations: 8 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1036, allocations: 0 / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1038, allocations: 35.97 kB / 444.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1042, allocations: 444.8 kB / 445.3 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1045, allocations: 117.3 kB / 445.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.1046, allocations: 45.67 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1046, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1049, allocations: 113.1 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.1049, allocations: 3.938 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008197/0.1057, allocations: 356.6 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1058, allocations: 81.05 kB / 446.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.1061, allocations: 355 kB / 446.4 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1061, allocations: 33.7 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1062, allocations: 144.3 kB / 446.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1062, allocations: 47.36 kB / 446.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1063, allocations: 33.7 kB / 446.6 MB, free: 7.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1064, allocations: 342.8 kB / 447 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.1065, allocations: 35.98 kB / 447 MB, free: 7.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1066, allocations: 79.39 kB / 447.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1068, allocations: 119.4 kB / 447.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1068, allocations: 0 / 447.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.1071, allocations: 173.4 kB / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1072, allocations: 7.938 kB / 447.4 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1072, allocations: 8.062 kB / 447.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1072, allocations: 4 kB / 447.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1073, allocations: 39.86 kB / 447.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.1073, allocations: 7.984 kB / 447.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1074, allocations: 4 kB / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1074, allocations: 8 kB / 447.5 MB, free: 6.863 MB / 382.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001223/0.1076, allocations: 161.7 kB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1076, allocations: 27.62 kB / 447.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.1077, allocations: 33.73 kB / 447.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1077, allocations: 3.938 kB / 447.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1077, allocations: 4 kB / 447.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1077, allocations: 0 / 447.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.1083, allocations: 0.6012 MB / 448.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1084, allocations: 7.938 kB / 448.3 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.1084, allocations: 24.05 kB / 448.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1084, allocations: 4 kB / 448.3 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1084, allocations: 4 kB / 448.3 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1085, allocations: 0 / 448.3 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1085, allocations: 0 / 448.3 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1088, allocations: 364.1 kB / 448.7 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1089, allocations: 96.83 kB / 448.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1089, allocations: 7.984 kB / 448.8 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1091, allocations: 4 kB / 448.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1091, allocations: 19.97 kB / 448.8 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1091, allocations: 11.98 kB / 448.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1094, allocations: 261.9 kB / 449.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1094, allocations: 0 / 449.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1097, allocations: 43.98 kB / 449.1 MB, free: 5.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (16): * Single equations (assignments): 12 * 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.001517/0.1112, allocations: 1.266 MB / 450.4 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1115, allocations: 115.8 kB / 450.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1115, allocations: 0 / 450.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1116, allocations: 68.03 kB / 450.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1121, allocations: 56.7 kB / 450.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1146, allocations: 2.504 MB / 453.1 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1149, allocations: 0.7518 MB / 453.9 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.858e-05/0.115, allocations: 37.91 kB / 453.9 MB, free: 168 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.1151, allocations: 67.41 kB / 454 MB, free: 104 kB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1151, allocations: 4 kB / 454 MB, free: 100 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/0.2686, allocations: 5.056 MB / 459 MB, free: 47.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000118/0.2687, allocations: 239.3 kB / 459.3 MB, free: 47.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.879, allocations: 2.781 kB / 459.3 MB, free: 47.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches