Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.000735/0.000735, allocations: 95.92 kB / 17.35 MB, free: 6.344 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.0007566/0.0007565, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.2 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1738/0.1738, allocations: 44.25 MB / 337.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.0936, allocations: 61.91 MB / 472.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001882/0.09551, allocations: 1.511 MB / 473.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.09763, allocations: 1.499 MB / 475.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.09771, allocations: 4 kB / 475.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.098, allocations: 47.81 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.09822, allocations: 75.67 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.09859, allocations: 150 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.09882, allocations: 175.4 kB / 475.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.09887, allocations: 13.55 kB / 475.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.09898, allocations: 79.58 kB / 475.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.09918, allocations: 75.62 kB / 476 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.09921, allocations: 4 kB / 476 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.09933, allocations: 63.95 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.09939, allocations: 27.86 kB / 476.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.09948, allocations: 89.23 kB / 476.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.0997, allocations: 163.8 kB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09972, allocations: 0 / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09972, allocations: 0 / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.09973, allocations: 0 / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006795/0.1004, allocations: 449 kB / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1005, allocations: 12.03 kB / 476.8 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1005, allocations: 34.69 kB / 476.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1006, allocations: 20.75 kB / 476.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1008, allocations: 236 kB / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1008, allocations: 8.344 kB / 477 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1009, allocations: 11.94 kB / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1011, allocations: 97.03 kB / 477.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1011, allocations: 0 / 477.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1011, allocations: 7.984 kB / 477.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1011, allocations: 0 / 477.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.1012, allocations: 27.98 kB / 477.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.1014, allocations: 210.5 kB / 477.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.1017, allocations: 109.1 kB / 477.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.1018, allocations: 41.69 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1018, allocations: 4 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.1021, allocations: 116.9 kB / 477.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1022, allocations: 0 / 477.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004013/0.1026, allocations: 161.4 kB / 477.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.1026, allocations: 132.5 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1029, allocations: 215.8 kB / 478.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1029, allocations: 29.7 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1029, allocations: 112.1 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.103, allocations: 31.59 kB / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.103, allocations: 17.7 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1031, allocations: 326.8 kB / 478.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.1032, allocations: 27.98 kB / 478.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1033, allocations: 76 kB / 478.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1035, allocations: 87.36 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1035, allocations: 3.938 kB / 478.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002941/0.1038, allocations: 141.9 kB / 479 MB, free: 6.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1038, allocations: 12.08 kB / 479 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1039, allocations: 7.984 kB / 479 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1039, allocations: 4 kB / 479 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.104, allocations: 20 kB / 479 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.104, allocations: 7.984 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.1041, allocations: 7.906 kB / 479.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1041, allocations: 4 kB / 479.1 MB, free: 6.238 MB / 350.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001163/0.1042, allocations: 142.2 kB / 479.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1043, allocations: 19.81 kB / 479.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.1043, allocations: 17 kB / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1043, allocations: 4 kB / 479.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1043, allocations: 3.984 kB / 479.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1043, allocations: 0 / 479.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1045, allocations: 217.5 kB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1045, allocations: 0 / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1045, allocations: 8 kB / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1046, allocations: 0 / 479.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1046, allocations: 7.984 kB / 479.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1046, allocations: 4 kB / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1046, allocations: 0 / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1049, allocations: 165.6 kB / 479.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.105, allocations: 104.8 kB / 479.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.105, allocations: 4 kB / 479.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1051, allocations: 7.984 kB / 479.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1052, allocations: 15.98 kB / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1052, allocations: 8 kB / 479.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1053, allocations: 156.2 kB / 479.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1053, allocations: 0 / 479.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1056, allocations: 43.92 kB / 480 MB, free: 5.227 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001408/0.1071, allocations: 1.05 MB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1073, allocations: 75.91 kB / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1073, allocations: 8.125 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.1074, allocations: 36.17 kB / 481.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1078, allocations: 56.2 kB / 481.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1098, allocations: 1.848 MB / 483 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.11, allocations: 0.7128 MB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1102, allocations: 37.45 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.1102, allocations: 51.42 kB / 483.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1103, allocations: 0 / 483.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.1249, allocations: 4.166 MB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.1252, allocations: 246.2 kB / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.844, allocations: 7.938 kB / 488.2 MB, free: 13.07 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches