Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001127/0.001127, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.00115/0.00115, allocations: 192 kB / 18.56 MB, free: 4.434 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.1964/0.1964, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.14 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003182/0.1089, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1104, allocations: 0.8808 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.1105, allocations: 0 / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1108, allocations: 51.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1111, allocations: 63.75 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1114, allocations: 114.3 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1116, allocations: 95.69 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1117, allocations: 16.22 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.1118, allocations: 39.8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.1119, allocations: 27.84 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1119, allocations: 4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.112, allocations: 43.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1121, allocations: 31.86 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.1122, allocations: 43.66 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1124, allocations: 127.8 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1124, allocations: 4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1124, allocations: 3.938 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1124, allocations: 0 / 472.6 MB, free: 11 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.0005585/0.113, allocations: 442.7 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.113, allocations: 8.031 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.1131, allocations: 34.75 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1131, allocations: 16.75 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1134, allocations: 215.9 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1134, allocations: 4.375 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1134, allocations: 7.938 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1136, allocations: 53.67 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1136, allocations: 4 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1136, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1136, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.1137, allocations: 23.98 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1141, allocations: 288.9 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1143, allocations: 62.62 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.1143, allocations: 20.84 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1144, allocations: 0 / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1146, allocations: 67.39 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1146, allocations: 0 / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1151, allocations: 189.2 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1152, allocations: 55.41 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.1155, allocations: 266.9 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1155, allocations: 25.7 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1156, allocations: 112.1 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1156, allocations: 31.62 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1157, allocations: 21.72 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1158, allocations: 330.8 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.1159, allocations: 23.98 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.116, allocations: 33.83 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1161, allocations: 61.64 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1161, allocations: 0 / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1163, allocations: 105.4 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1163, allocations: 12.03 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1163, allocations: 0 / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1163, allocations: 0 / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1164, allocations: 16.17 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1164, allocations: 7.938 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1165, allocations: 11.81 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1165, allocations: 4 kB / 475.1 MB, free: 8.246 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.0001572/0.1167, allocations: 133.8 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1167, allocations: 11.81 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1168, allocations: 29.39 kB / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1168, allocations: 0 / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1168, allocations: 4 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1168, allocations: 3.938 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.1173, allocations: 399.3 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1173, allocations: 3.984 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.1173, allocations: 8 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1173, allocations: 3.938 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1173, allocations: 8.031 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1174, allocations: 7.984 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1174, allocations: 0 / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1176, allocations: 208.3 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.1177, allocations: 88.92 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1177, allocations: 11.94 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1178, allocations: 4 kB / 476 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.1178, allocations: 7.984 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1178, allocations: 4 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.118, allocations: 200.2 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.118, allocations: 0 / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1183, allocations: 23.98 kB / 476.2 MB, free: 7.004 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.001493/0.1198, allocations: 1.097 MB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.12, allocations: 67.91 kB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.12, allocations: 0 / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.1201, allocations: 31.98 kB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1205, allocations: 27.92 kB / 477.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1223, allocations: 1.805 MB / 479.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1226, allocations: 0.7196 MB / 480 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.1227, allocations: 21.17 kB / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1228, allocations: 39.42 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1228, allocations: 0 / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1458, allocations: 3.623 MB / 483.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/7.945, allocations: 10.94 kB / 483.7 MB, free: 15.69 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches