Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.001041/0.001041, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.00097/0.0009701, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.222/1.222, allocations: 223.3 MB / 242.3 MB, free: 204 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.1672/0.1672, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 12.28 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.08983, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002026/0.09189, allocations: 1.596 MB / 474 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.09344, allocations: 0.9473 MB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.09358, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.09405, allocations: 255.4 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.09439, allocations: 167.6 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.09485, allocations: 162.7 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.09517, allocations: 239.3 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.09528, allocations: 29.67 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.09547, allocations: 119.5 kB / 475.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.09569, allocations: 175.4 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.09572, allocations: 4 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.09586, allocations: 59.97 kB / 476.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.09595, allocations: 71.75 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.09605, allocations: 112.9 kB / 476.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.09632, allocations: 231.4 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.09634, allocations: 4 kB / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09634, allocations: 0 / 476.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09635, allocations: 3.938 kB / 476.5 MB, free: 9.078 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006186/0.09698, allocations: 0.5215 MB / 477 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.09702, allocations: 12.03 kB / 477 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.09707, allocations: 38.75 kB / 477.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.09713, allocations: 36.55 kB / 477.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.09741, allocations: 280.1 kB / 477.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.09744, allocations: 8.375 kB / 477.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.09747, allocations: 15.83 kB / 477.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.0977, allocations: 106 kB / 477.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.09773, allocations: 15.86 kB / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.09775, allocations: 3.984 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09776, allocations: 4 kB / 477.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.09791, allocations: 47.97 kB / 477.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.0985, allocations: 480.7 kB / 478.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.09887, allocations: 121.2 kB / 478.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.09898, allocations: 53.77 kB / 478.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.09901, allocations: 3.984 kB / 478.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.09928, allocations: 113.1 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.09929, allocations: 0 / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001256/0.1005, allocations: 0.4964 MB / 478.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1006, allocations: 96.97 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.101, allocations: 477.7 kB / 479.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1011, allocations: 33.7 kB / 479.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.1012, allocations: 160.5 kB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.1012, allocations: 74.98 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1013, allocations: 21.72 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1014, allocations: 350.8 kB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1015, allocations: 55.97 kB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1017, allocations: 91.34 kB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1019, allocations: 159.3 kB / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1019, allocations: 0 / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003718/0.1023, allocations: 241.3 kB / 480.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1023, allocations: 6.5 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1024, allocations: 4 kB / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1024, allocations: 4.062 kB / 480.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1025, allocations: 43.97 kB / 480.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1025, allocations: 0 / 480.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.1026, allocations: 8 kB / 480.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1026, allocations: 8 kB / 480.6 MB, free: 4.664 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.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 (26): * Single equations (assignments): 26 * 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.0001461/0.1028, allocations: 186.2 kB / 480.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1028, allocations: 39.47 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.1029, allocations: 42.75 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1029, allocations: 11.94 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1029, allocations: 0 / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.103, allocations: 0 / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.1038, allocations: 0.7389 MB / 481.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1038, allocations: 0 / 481.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.1039, allocations: 35.92 kB / 481.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1039, allocations: 4 kB / 481.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1039, allocations: 4 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1039, allocations: 8 kB / 481.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1039, allocations: 3.938 kB / 481.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.1043, allocations: 421.8 kB / 482.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.1044, allocations: 108.7 kB / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.1044, allocations: 8 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1046, allocations: 15.98 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1046, allocations: 23.91 kB / 482.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1047, allocations: 15.98 kB / 482.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.105, allocations: 355.1 kB / 482.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.105, allocations: 0 / 482.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1053, allocations: 51.98 kB / 482.7 MB, free: 2.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001669/0.107, allocations: 1.361 MB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1073, allocations: 163.8 kB / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1074, allocations: 0 / 484.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1075, allocations: 87.77 kB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.1081, allocations: 61.38 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.1112, allocations: 3.016 MB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1115, allocations: 0.7814 MB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1117, allocations: 41.94 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1118, allocations: 99.39 kB / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1118, allocations: 0 / 488.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.1285, allocations: 5.916 MB / 494.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.1287, allocations: 238.2 kB / 494.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.792, allocations: 0 / 494.4 MB, free: 6.883 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches