Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.0008599/0.0008599, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 186.9 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3309/0.3309, allocations: 43.57 MB / 315 MB, free: 8.871 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005584/0.0005583, allocations: 16 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1147, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001998/0.1167, allocations: 1.379 MB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.118, allocations: 0.7613 MB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.118, allocations: 0 / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1184, allocations: 83.81 kB / 445.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1185, allocations: 63.8 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1188, allocations: 67.86 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1189, allocations: 107.7 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.119, allocations: 7.984 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.1191, allocations: 51.7 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.1192, allocations: 43.84 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1192, allocations: 4 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.048e-05/0.1193, allocations: 31.97 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1194, allocations: 19.92 kB / 446.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1194, allocations: 57.44 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1196, allocations: 103.9 kB / 446.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1196, allocations: 4 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1196, allocations: 0 / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1196, allocations: 3.938 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004971/0.1202, allocations: 395.1 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1202, allocations: 12.03 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1202, allocations: 34.75 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.1203, allocations: 16.69 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1205, allocations: 208.8 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1206, allocations: 384 / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1206, allocations: 11.94 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1207, allocations: 45.67 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1207, allocations: 3.938 kB / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1208, allocations: 0 / 447 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1208, allocations: 4 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.1208, allocations: 15.98 kB / 447.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.121, allocations: 185.6 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1212, allocations: 62.55 kB / 447.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1212, allocations: 20.84 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1213, allocations: 4 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1215, allocations: 63.33 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1215, allocations: 0 / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002496/0.1217, allocations: 97.47 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1218, allocations: 59.41 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.122, allocations: 210.4 kB / 447.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.122, allocations: 29.7 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.1221, allocations: 100.1 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1221, allocations: 15.84 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.1221, allocations: 9.719 kB / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1223, allocations: 326.8 kB / 448.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.1223, allocations: 19.92 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/0.1224, allocations: 33.7 kB / 448.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.1225, allocations: 37.72 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1225, allocations: 3.938 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.1227, allocations: 89.42 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1227, allocations: 4 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1227, allocations: 0 / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1227, allocations: 4.031 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.1228, allocations: 12 kB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1228, allocations: 0 / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1229, allocations: 8 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1229, allocations: 3.984 kB / 448.4 MB, free: 7.434 MB / 382.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 (7): * Single equations (assignments): 7 * 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.935e-05/0.123, allocations: 125.8 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.123, allocations: 12.16 kB / 448.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.1231, allocations: 16.98 kB / 448.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1231, allocations: 4 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1231, allocations: 8 kB / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1231, allocations: 0 / 448.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1232, allocations: 193.5 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1232, allocations: 3.938 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.1232, allocations: 4 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1233, allocations: 0 / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1233, allocations: 3.938 kB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1233, allocations: 4 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1233, allocations: 0 / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1235, allocations: 113 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1235, allocations: 85.02 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1235, allocations: 3.984 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.1236, allocations: 8 kB / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1236, allocations: 0 / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1236, allocations: 7.938 kB / 449 MB, free: 6.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1238, allocations: 160.2 kB / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1238, allocations: 0 / 449.2 MB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.124, allocations: 20 kB / 449.2 MB, free: 6.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001292/0.1253, allocations: 0.958 MB / 450.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1255, allocations: 39.92 kB / 450.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1255, allocations: 0 / 450.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.1255, allocations: 28.05 kB / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1258, allocations: 23.92 kB / 450.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1277, allocations: 1.556 MB / 451.8 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.128, allocations: 0.7082 MB / 452.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.1281, allocations: 16.53 kB / 452.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.1282, allocations: 27.42 kB / 452.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1282, allocations: 0 / 452.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1418, allocations: 2.755 MB / 455.3 MB, free: 376 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.142, allocations: 237.9 kB / 455.5 MB, free: 112 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/1.975, allocations: 0 / 455.5 MB, free: 112 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches