Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001293/0.001293, allocations: 100.1 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.001445/0.001445, allocations: 195.9 kB / 18.56 MB, free: 4.598 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.328/1.328, 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.2034/0.2034, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.72 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09966, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003094/0.1028, allocations: 1.712 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1042, allocations: 0.8769 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.1043, allocations: 4 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1046, allocations: 35.77 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1048, allocations: 51.77 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1051, allocations: 107.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1053, allocations: 95.7 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.1054, allocations: 12.23 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.1055, allocations: 47.77 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.1056, allocations: 27.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1056, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.1057, allocations: 43.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.1058, allocations: 23.91 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1058, allocations: 27.81 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.106, allocations: 111.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.106, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.106, allocations: 3.938 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.106, allocations: 0 / 472.5 MB, free: 11.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004988/0.1065, allocations: 407 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1066, allocations: 8.031 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1066, allocations: 42.73 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1067, allocations: 8.844 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1069, allocations: 200 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1069, allocations: 12.36 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.107, allocations: 3.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1071, allocations: 53.67 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1072, allocations: 4 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1072, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1072, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.1073, allocations: 15.98 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1077, allocations: 288.8 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1079, allocations: 58.69 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.108, allocations: 20.84 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.108, allocations: 4 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.1082, allocations: 71.23 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.1082, allocations: 0 / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.1088, allocations: 161.5 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1088, allocations: 59.34 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.109, allocations: 179.5 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.109, allocations: 25.7 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1091, allocations: 100.1 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1091, allocations: 27.64 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.1092, allocations: 21.72 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1093, allocations: 326.8 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.1094, allocations: 20.17 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.1095, allocations: 37.72 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1096, allocations: 65.62 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1096, allocations: 0 / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1098, allocations: 101.5 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1098, allocations: 4 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1098, allocations: 3.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1098, allocations: 12.02 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.1099, allocations: 20.12 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.11, allocations: 0 / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.11, allocations: 15.86 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.11, allocations: 0 / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.000122/0.1102, allocations: 121.8 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1102, allocations: 11.91 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1102, allocations: 16.7 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1102, allocations: 0 / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1103, allocations: 4 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1103, allocations: 3.938 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1107, allocations: 383.3 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1107, allocations: 4 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.1108, allocations: 4 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1108, allocations: 7.938 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1108, allocations: 7.984 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1108, allocations: 0 / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1108, allocations: 11.97 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.111, allocations: 196.2 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1111, allocations: 81.02 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1111, allocations: 11.94 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.1112, allocations: 3.984 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1112, allocations: 4 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1113, allocations: 8 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1114, allocations: 139.1 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 0 / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1116, allocations: 20 kB / 475.9 MB, free: 7.359 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00141/0.1131, allocations: 1.112 MB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1133, allocations: 59.92 kB / 477.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1133, allocations: 0 / 477.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.1133, allocations: 35.98 kB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1137, allocations: 23.92 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1154, allocations: 1.597 MB / 478.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1156, allocations: 0.7041 MB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.1157, allocations: 21.11 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.1158, allocations: 31.42 kB / 479.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1158, allocations: 4 kB / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.136, allocations: 3.23 MB / 482.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.813, allocations: 11.77 kB / 482.7 MB, free: 0.6602 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches