Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.004602/0.004602, allocations: 101.1 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.001185/0.001185, allocations: 190.5 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.284/1.284, allocations: 205.1 MB / 222.6 MB, free: 4.707 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.2949/0.2949, allocations: 43.49 MB / 313.5 MB, free: 8.57 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.001293/0.001293, allocations: 68.27 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09654, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002839/0.09942, allocations: 1.9 MB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1006, allocations: 0.8819 MB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1007, allocations: 4 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.1011, allocations: 251.4 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1014, allocations: 167.6 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1017, allocations: 135.7 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.1019, allocations: 239.3 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.102, allocations: 25.53 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1022, allocations: 119.5 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1024, allocations: 167.6 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1024, allocations: 4 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.1025, allocations: 47.92 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.1026, allocations: 67.75 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.1027, allocations: 79.3 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1029, allocations: 215.5 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1029, allocations: 0 / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1029, allocations: 0 / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1029, allocations: 0 / 444.2 MB, free: 10.43 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.0006249/0.1035, allocations: 0.5679 MB / 444.8 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1036, allocations: 8.031 kB / 444.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.1036, allocations: 42.75 kB / 444.8 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1037, allocations: 28.56 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.104, allocations: 280 kB / 445.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.104, allocations: 12.31 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.104, allocations: 7.938 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1042, allocations: 95.36 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1042, allocations: 0 / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1042, allocations: 0 / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1043, allocations: 4 kB / 445.2 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1044, allocations: 43.97 kB / 445.3 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1048, allocations: 456.8 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1051, allocations: 117.3 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.1052, allocations: 41.7 kB / 445.9 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1052, allocations: 11.88 kB / 445.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1054, allocations: 117 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1054, allocations: 0 / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007954/0.1062, allocations: 371.8 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1063, allocations: 81.05 kB / 446.4 MB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.1067, allocations: 485.6 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1067, allocations: 33.7 kB / 447 MB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1068, allocations: 156.3 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.1069, allocations: 51.44 kB / 447.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1069, allocations: 33.72 kB / 447.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1071, allocations: 346.8 kB / 447.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.1072, allocations: 35.98 kB / 447.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1073, allocations: 71.41 kB / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1075, allocations: 127.5 kB / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1075, allocations: 0 / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003058/0.1078, allocations: 185.1 kB / 447.9 MB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1078, allocations: 8 kB / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1078, allocations: 0 / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.1079, allocations: 0 / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.108, allocations: 55.89 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.108, allocations: 0 / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.1081, allocations: 7.938 kB / 448 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1081, allocations: 12 kB / 448 MB, free: 6.309 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.0001326/0.1083, allocations: 165.7 kB / 448.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1083, allocations: 35.62 kB / 448.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.1084, allocations: 38.8 kB / 448.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1084, allocations: 7.938 kB / 448.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1084, allocations: 4 kB / 448.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1084, allocations: 0 / 448.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1091, allocations: 0.6249 MB / 448.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1091, allocations: 0 / 448.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.1091, allocations: 23.98 kB / 448.9 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1092, allocations: 0 / 448.9 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1092, allocations: 8.062 kB / 448.9 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1092, allocations: 8.312 kB / 448.9 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1092, allocations: 0 / 448.9 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.1096, allocations: 368 kB / 449.3 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.1096, allocations: 104.7 kB / 449.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1097, allocations: 11.98 kB / 449.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1098, allocations: 4 kB / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1098, allocations: 15.98 kB / 449.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1099, allocations: 7.984 kB / 449.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.1102, allocations: 363.1 kB / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1102, allocations: 0 / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1105, allocations: 43.98 kB / 449.8 MB, free: 4.383 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.001494/0.112, allocations: 1.27 MB / 451.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1123, allocations: 119.8 kB / 451.2 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1123, allocations: 0 / 451.2 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1124, allocations: 59.91 kB / 451.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1129, allocations: 57.52 kB / 451.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1501/0.263, allocations: 2.809 MB / 454.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2633, allocations: 0.7682 MB / 454.9 MB, free: 47.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.2634, allocations: 35.66 kB / 454.9 MB, free: 47.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2636, allocations: 91.72 kB / 455 MB, free: 47.87 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2636, allocations: 0 / 455 MB, free: 47.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.2774, allocations: 5.628 MB / 460.7 MB, free: 47.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.2775, allocations: 238 kB / 460.9 MB, free: 47.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.906, allocations: 3.375 kB / 460.9 MB, free: 47.06 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches