Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001076/0.001076, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001098/0.001099, allocations: 192 kB / 18.55 MB, free: 4.566 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.318/1.318, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.1905/0.1905, allocations: 44.19 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 65.5 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003327/0.1065, allocations: 1.707 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1085, allocations: 1.479 MB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.1086, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1089, allocations: 39.77 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1091, allocations: 59.7 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1094, allocations: 115.2 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1096, allocations: 103.6 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.1097, allocations: 4.234 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.1098, allocations: 43.78 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1099, allocations: 39.84 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.11, allocations: 4 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1101, allocations: 63.95 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.1102, allocations: 11.94 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1102, allocations: 35.73 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1104, allocations: 124 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1104, allocations: 3.938 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1105, allocations: 3.984 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1105, allocations: 0 / 473.2 MB, free: 10.39 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.0004994/0.111, allocations: 399.2 kB / 473.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.111, allocations: 8.031 kB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.111, allocations: 38.73 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1111, allocations: 8.844 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1113, allocations: 204.1 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1113, allocations: 384 / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1114, allocations: 11.92 kB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1115, allocations: 71.33 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1116, allocations: 0 / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1116, allocations: 4 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1116, allocations: 0 / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.1117, allocations: 19.98 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.112, allocations: 284.9 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1122, allocations: 50.62 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1122, allocations: 28.78 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1123, allocations: 0 / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.1124, allocations: 67.39 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1124, allocations: 0 / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005139/0.113, allocations: 189.3 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.113, allocations: 81.11 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1132, allocations: 152.3 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1132, allocations: 33.7 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1132, allocations: 92.14 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1133, allocations: 27.64 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1133, allocations: 21.72 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.1134, allocations: 326.8 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.1135, allocations: 23.98 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1136, allocations: 42.5 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1137, allocations: 57.7 kB / 475.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1137, allocations: 4.031 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1139, allocations: 105.6 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1139, allocations: 4 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1139, allocations: 4 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1139, allocations: 0 / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.114, allocations: 15.98 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.114, allocations: 3.938 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1141, allocations: 7.938 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1141, allocations: 8 kB / 475.5 MB, free: 7.789 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 8.881e-05/0.1142, allocations: 121.9 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1142, allocations: 7.906 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1143, allocations: 12.72 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1143, allocations: 4 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1143, allocations: 0 / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1143, allocations: 3.938 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1147, allocations: 391.3 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1147, allocations: 0 / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1148, allocations: 8 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1148, allocations: 3.938 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1148, allocations: 4 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1148, allocations: 0 / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1148, allocations: 3.938 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.115, allocations: 216.1 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1151, allocations: 81.02 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1151, allocations: 7.938 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.1152, allocations: 0 / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1152, allocations: 11.98 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1153, allocations: 4 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.1154, allocations: 115.2 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1154, allocations: 0 / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1156, allocations: 32 kB / 476.5 MB, free: 6.672 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.001448/0.1171, allocations: 1.141 MB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1173, allocations: 59.91 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1173, allocations: 0 / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.1174, allocations: 28.06 kB / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1177, allocations: 27.97 kB / 477.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1192, allocations: 1.55 MB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1195, allocations: 0.6973 MB / 480 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.276e-05/0.1196, allocations: 17.34 kB / 480.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.1196, allocations: 35.41 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1197, allocations: 7.938 kB / 480.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1419, allocations: 3.473 MB / 483.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.448, allocations: 10.47 kB / 483.6 MB, free: 15.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches