Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001092/0.001092, 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.001212/0.001212, 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.385/1.385, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2247/0.2247, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.69 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003457/0.1187, allocations: 1.715 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1203, allocations: 0.8886 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.1204, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1207, allocations: 91.67 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.121, allocations: 75.72 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1213, allocations: 122.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1215, allocations: 111.7 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1216, allocations: 16 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1217, allocations: 55.77 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1218, allocations: 67.73 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1219, allocations: 4 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.122, allocations: 59.92 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1221, allocations: 19.92 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.1221, allocations: 39.73 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1224, allocations: 131.8 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1224, allocations: 0 / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1224, allocations: 3.938 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1224, allocations: 4 kB / 472.8 MB, free: 10.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005747/0.123, allocations: 437.8 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.123, allocations: 8.031 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.1231, allocations: 30.75 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.1231, allocations: 16.75 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1234, allocations: 223.9 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1234, allocations: 384 / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1234, allocations: 11.84 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1236, allocations: 69.64 kB / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1236, allocations: 4 kB / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1236, allocations: 0 / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1236, allocations: 0 / 473.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.1237, allocations: 23.97 kB / 473.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.1241, allocations: 300.8 kB / 473.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1243, allocations: 62.56 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1244, allocations: 24.97 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1244, allocations: 0 / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1246, allocations: 71.41 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1246, allocations: 0 / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007598/0.1254, allocations: 237.1 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1254, allocations: 59.34 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1256, allocations: 226.5 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1257, allocations: 33.7 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.1257, allocations: 104.1 kB / 474.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1258, allocations: 39.55 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1258, allocations: 21.72 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1259, allocations: 330.8 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.126, allocations: 31.98 kB / 475.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.1261, allocations: 45.69 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1263, allocations: 77.66 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1263, allocations: 0 / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002218/0.1265, allocations: 129.4 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1265, allocations: 6.5 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1265, allocations: 4.031 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1266, allocations: 4 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1267, allocations: 23.92 kB / 475.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1267, allocations: 4 kB / 475.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1267, allocations: 3.938 kB / 475.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1267, allocations: 8 kB / 475.4 MB, free: 8.012 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 (13): * Single equations (assignments): 13 * 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.0001002/0.1269, allocations: 134 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1269, allocations: 23.75 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.1269, allocations: 25.33 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.127, allocations: 7.938 kB / 475.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.127, allocations: 0 / 475.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.127, allocations: 0 / 475.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.1275, allocations: 452.1 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1275, allocations: 0 / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.1275, allocations: 15.94 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1276, allocations: 64 / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1276, allocations: 8 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1276, allocations: 3.984 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1276, allocations: 0 / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1279, allocations: 232.9 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.1279, allocations: 96.86 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1279, allocations: 7.984 kB / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.128, allocations: 4 kB / 476.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.1281, allocations: 8 kB / 476.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1281, allocations: 7.984 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1282, allocations: 167.2 kB / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1282, allocations: 4 kB / 476.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1285, allocations: 31.98 kB / 476.6 MB, free: 6.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00159/0.1301, allocations: 1.166 MB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1304, allocations: 83.84 kB / 477.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1304, allocations: 4 kB / 477.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.1305, allocations: 43.98 kB / 477.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1308, allocations: 29.47 kB / 477.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.1328, allocations: 1.816 MB / 479.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1332, allocations: 0.7233 MB / 480.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.1332, allocations: 24.61 kB / 480.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.1333, allocations: 39.42 kB / 480.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1333, allocations: 0 / 480.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.1544, allocations: 3.761 MB / 484.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.714, allocations: 27.2 kB / 484.3 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches