Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_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.0009272/0.0009273, allocations: 90.25 kB / 17.35 MB, free: 6.027 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.001122/0.001122, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.26/1.26, allocations: 223.3 MB / 242.3 MB, free: 84 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.1762/0.1762, allocations: 44.25 MB / 337.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003283, allocations: 10.09 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09214, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002358/0.09454, allocations: 1.592 MB / 474 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.09609, allocations: 0.9551 MB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.09621, allocations: 4 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.0966, allocations: 155.6 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.09694, allocations: 119.7 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.09744, allocations: 169.2 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.09775, allocations: 211.4 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.09788, allocations: 21.67 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.09807, allocations: 95.55 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.09825, allocations: 131.5 kB / 475.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.09828, allocations: 4 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.09842, allocations: 55.98 kB / 475.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.0985, allocations: 51.83 kB / 475.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.0986, allocations: 101.1 kB / 476 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.09888, allocations: 203.5 kB / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.0989, allocations: 0 / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.09891, allocations: 0 / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.09892, allocations: 0 / 476.2 MB, free: 9.371 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.0006611/0.09959, allocations: 498.5 kB / 476.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.09963, allocations: 15.97 kB / 476.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.09969, allocations: 42.67 kB / 476.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.09975, allocations: 24.66 kB / 476.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1001, allocations: 267.5 kB / 477 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1001, allocations: 8.375 kB / 477 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1001, allocations: 7.938 kB / 477.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1004, allocations: 118.4 kB / 477.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1004, allocations: 7.984 kB / 477.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1004, allocations: 7.984 kB / 477.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1004, allocations: 0 / 477.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1006, allocations: 43.97 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1011, allocations: 472.6 kB / 477.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1015, allocations: 113.2 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1016, allocations: 49.77 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1017, allocations: 11.92 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1019, allocations: 113.1 kB / 478 MB, free: 7.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1019, allocations: 0 / 478 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001195/0.1031, allocations: 0.4892 MB / 478.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1032, allocations: 85.09 kB / 478.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.1035, allocations: 347 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1035, allocations: 33.7 kB / 478.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.1036, allocations: 144.5 kB / 479.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.1037, allocations: 75 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1037, allocations: 21.72 kB / 479.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1038, allocations: 338.8 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.104, allocations: 55.97 kB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1041, allocations: 99.33 kB / 479.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.1044, allocations: 151.4 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1044, allocations: 3.938 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003725/0.1047, allocations: 237.4 kB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1048, allocations: 7.984 kB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1048, allocations: 0 / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1048, allocations: 4 kB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.105, allocations: 43.98 kB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.105, allocations: 4.172 kB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.1051, allocations: 11.98 kB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1051, allocations: 11.98 kB / 480.1 MB, free: 5.188 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.0001266/0.1052, allocations: 158.4 kB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1053, allocations: 27.66 kB / 480.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.1053, allocations: 37.73 kB / 480.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1053, allocations: 4 kB / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1053, allocations: 0 / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.1054, allocations: 3.984 kB / 480.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007846/0.1061, allocations: 0.7154 MB / 481 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1062, allocations: 192 / 481 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.1062, allocations: 31.92 kB / 481.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1063, allocations: 7.938 kB / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1063, allocations: 11.98 kB / 481.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1063, allocations: 4.125 kB / 481.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1063, allocations: 7.938 kB / 481.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.1067, allocations: 419.2 kB / 481.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.1068, allocations: 100.8 kB / 481.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1068, allocations: 7.984 kB / 481.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.107, allocations: 12 kB / 481.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.107, allocations: 27.89 kB / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1071, allocations: 8 kB / 481.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1073, allocations: 265.9 kB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1073, allocations: 0 / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000337/0.1076, allocations: 48 kB / 482 MB, free: 3.188 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.001664/0.1093, allocations: 1.369 MB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1096, allocations: 161 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1096, allocations: 0 / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1098, allocations: 83.84 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.1104, allocations: 57.22 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.1132, allocations: 2.715 MB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1135, allocations: 0.7599 MB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1136, allocations: 37.92 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1137, allocations: 87.39 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1137, allocations: 0 / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1287, allocations: 5.36 MB / 492.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.129, allocations: 249.3 kB / 492.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.851, allocations: 0 / 492.8 MB, free: 8.457 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches