Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.001541/0.001541, allocations: 96.14 kB / 15.87 MB, free: 16 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.00174/0.00174, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.523/1.523, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.3748/0.3748, allocations: 43.49 MB / 313.5 MB, free: 8.652 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.001305/0.001305, allocations: 67.91 kB / 382.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 57.78 MB / 439.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003327/0.1222, allocations: 1.76 MB / 441.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1234, allocations: 0.7924 MB / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.1235, allocations: 0 / 442.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1238, allocations: 39.83 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.124, allocations: 43.84 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1242, allocations: 75.84 kB / 442.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1244, allocations: 91.69 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1245, allocations: 12.22 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1246, allocations: 39.78 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.1247, allocations: 31.84 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1247, allocations: 4 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.1248, allocations: 43.92 kB / 442.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1248, allocations: 23.86 kB / 442.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1249, allocations: 31.73 kB / 442.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1251, allocations: 107.9 kB / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1251, allocations: 0 / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1251, allocations: 0 / 443 MB, free: 11.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1251, allocations: 0 / 443 MB, free: 11.94 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005064/0.1256, allocations: 419 kB / 443.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1256, allocations: 8.031 kB / 443.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1257, allocations: 34.75 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1257, allocations: 16.78 kB / 443.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1259, allocations: 208 kB / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.126, allocations: 384 / 443.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.126, allocations: 7.938 kB / 443.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1261, allocations: 53.67 kB / 443.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1262, allocations: 3.938 kB / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1262, allocations: 0 / 443.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1262, allocations: 4 kB / 443.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.1263, allocations: 19.98 kB / 443.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1266, allocations: 292.7 kB / 444.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1268, allocations: 54.67 kB / 444.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1269, allocations: 20.84 kB / 444.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1269, allocations: 4 kB / 444.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1271, allocations: 71.33 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1271, allocations: 0 / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.1276, allocations: 173.2 kB / 444.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1277, allocations: 59.39 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1279, allocations: 186.1 kB / 444.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1279, allocations: 25.7 kB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.128, allocations: 100.1 kB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.128, allocations: 27.7 kB / 444.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1281, allocations: 21.72 kB / 444.8 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1282, allocations: 326.8 kB / 445.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.1283, allocations: 19.98 kB / 445.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1284, allocations: 33.7 kB / 445.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1285, allocations: 65.66 kB / 445.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1285, allocations: 384 / 445.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1287, allocations: 97.75 kB / 445.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1287, allocations: 4 kB / 445.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1287, allocations: 3.938 kB / 445.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1287, allocations: 8 kB / 445.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1288, allocations: 19.94 kB / 445.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1289, allocations: 3.984 kB / 445.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.1289, allocations: 7.938 kB / 445.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1289, allocations: 4 kB / 445.4 MB, free: 9.332 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 (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.0001068/0.1291, allocations: 129.8 kB / 445.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1291, allocations: 19.78 kB / 445.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.1291, allocations: 12.72 kB / 445.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1291, allocations: 4 kB / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1291, allocations: 0 / 445.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1292, allocations: 3.938 kB / 445.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1296, allocations: 391.3 kB / 445.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1296, allocations: 4 kB / 445.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1297, allocations: 7.984 kB / 445.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1297, allocations: 7.938 kB / 445.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1297, allocations: 0 / 445.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1297, allocations: 3.938 kB / 445.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1297, allocations: 4 kB / 445.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1299, allocations: 204.3 kB / 446.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.13, allocations: 81.02 kB / 446.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.13, allocations: 11.92 kB / 446.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.1301, allocations: 0 / 446.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1301, allocations: 4 kB / 446.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1302, allocations: 11.98 kB / 446.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1303, allocations: 140.1 kB / 446.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1303, allocations: 0 / 446.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1306, allocations: 31.89 kB / 446.4 MB, free: 8.18 MB / 382.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.00156/0.1321, allocations: 1.105 MB / 447.5 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1323, allocations: 63.91 kB / 447.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1323, allocations: 0 / 447.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.1324, allocations: 23.98 kB / 447.6 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1328, allocations: 39.77 kB / 447.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1343, allocations: 1.645 MB / 449.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1346, allocations: 0.716 MB / 450 MB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.1347, allocations: 17.17 kB / 450 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.1347, allocations: 35.42 kB / 450.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1347, allocations: 0 / 450.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1486, allocations: 3.106 MB / 453.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.1488, allocations: 234.5 kB / 453.4 MB, free: 1.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.847, allocations: 4 kB / 453.4 MB, free: 1.043 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches