Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001487/0.001487, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00176/0.00176, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.337/1.337, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 65.88 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09491, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003817/0.09877, allocations: 1.938 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1006, allocations: 1.06 MB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.1007, allocations: 0 / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.1013, allocations: 203.4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1016, allocations: 147.4 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.1022, allocations: 226.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1024, allocations: 251.3 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1026, allocations: 21.67 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1027, allocations: 103.5 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1028, allocations: 107.6 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1029, allocations: 11.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.103, allocations: 59.92 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.1031, allocations: 51.83 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1032, allocations: 79.47 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1035, allocations: 235.4 kB / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1035, allocations: 0 / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1035, allocations: 0 / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1035, allocations: 0 / 473.8 MB, free: 9.797 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000741/0.1043, allocations: 0.5389 MB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1043, allocations: 12.03 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1043, allocations: 42.75 kB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.1044, allocations: 24.66 kB / 474.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1047, allocations: 279.6 kB / 474.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1047, allocations: 4.375 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1048, allocations: 11.92 kB / 474.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.105, allocations: 100.2 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.105, allocations: 0 / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.105, allocations: 8 kB / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.105, allocations: 0 / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1052, allocations: 39.91 kB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.1056, allocations: 377.5 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.1059, allocations: 121.2 kB / 475.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.106, allocations: 45.7 kB / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1061, allocations: 0 / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.1063, allocations: 124.9 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1063, allocations: 0 / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004337/0.1067, allocations: 173.3 kB / 475.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1068, allocations: 114.8 kB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.1072, allocations: 327 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1072, allocations: 33.7 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1073, allocations: 144 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1073, allocations: 23.7 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.1074, allocations: 33.7 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1075, allocations: 342.7 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.1076, allocations: 35.98 kB / 476.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1078, allocations: 77.08 kB / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.108, allocations: 95.84 kB / 476.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.108, allocations: 0 / 476.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000323/0.1083, allocations: 145.3 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1083, allocations: 4 kB / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1084, allocations: 12.08 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1084, allocations: 0 / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1085, allocations: 23.94 kB / 477.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1085, allocations: 3.984 kB / 477.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.1086, allocations: 19.83 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1086, allocations: 4 kB / 477.1 MB, free: 6.199 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001504/0.1088, allocations: 149.8 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1088, allocations: 23.72 kB / 477.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1089, allocations: 29.73 kB / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1089, allocations: 0 / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1089, allocations: 4 kB / 477.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1089, allocations: 7.922 kB / 477.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1092, allocations: 249.6 kB / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1092, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.1092, allocations: 8 kB / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1092, allocations: 0 / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1093, allocations: 8 kB / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1093, allocations: 3.984 kB / 477.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1093, allocations: 0 / 477.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1096, allocations: 185.5 kB / 477.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.1097, allocations: 96.83 kB / 477.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.1097, allocations: 12.11 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.1098, allocations: 4 kB / 477.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1099, allocations: 15.92 kB / 477.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1099, allocations: 12 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.1102, allocations: 245.9 kB / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1102, allocations: 0 / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1104, allocations: 36 kB / 478.2 MB, free: 5.027 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001367/0.1118, allocations: 1.032 MB / 479.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1121, allocations: 103.8 kB / 479.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1121, allocations: 0 / 479.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1122, allocations: 47.92 kB / 479.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1127, allocations: 70.45 kB / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.1154, allocations: 2.295 MB / 481.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1157, allocations: 0.7398 MB / 482.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1158, allocations: 33.92 kB / 482.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.116, allocations: 75.34 kB / 482.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.116, allocations: 0 / 482.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.1371, allocations: 5.511 MB / 488.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.397, allocations: 2.969 kB / 488.1 MB, free: 11.21 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches