Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.0009048/0.0009084, allocations: 96.78 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.001051/0.001052, allocations: 178.1 kB / 16.91 MB, free: 6.684 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.592/1.592, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.3723/0.3723, allocations: 43.57 MB / 315 MB, free: 8.762 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.0006653/0.0006654, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1359, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002347/0.1383, allocations: 1.379 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1397, allocations: 0.7574 MB / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1399, allocations: 0 / 445.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1402, allocations: 59.86 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1405, allocations: 51.8 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1408, allocations: 79.86 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.141, allocations: 99.67 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.1411, allocations: 7.984 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1412, allocations: 39.73 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1413, allocations: 47.81 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.1413, allocations: 4 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1415, allocations: 24 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.1415, allocations: 19.92 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.1416, allocations: 65.42 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1418, allocations: 91.94 kB / 446.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1418, allocations: 3.938 kB / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1418, allocations: 0 / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1418, allocations: 0 / 446.3 MB, free: 9.828 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.000506/0.1423, allocations: 387.1 kB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1424, allocations: 12.02 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1424, allocations: 38.75 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1425, allocations: 12.83 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1427, allocations: 208 kB / 446.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1428, allocations: 12.36 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1428, allocations: 3.938 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.143, allocations: 53.56 kB / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.143, allocations: 0 / 447 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.143, allocations: 7.984 kB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.143, allocations: 0 / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.1431, allocations: 12 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1433, allocations: 177.7 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1435, allocations: 58.55 kB / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.1435, allocations: 16.86 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1436, allocations: 3.984 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1438, allocations: 71.33 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1438, allocations: 4 kB / 447.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002834/0.1441, allocations: 89.58 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1441, allocations: 51.41 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1443, allocations: 186.1 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1443, allocations: 29.7 kB / 447.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1444, allocations: 96.14 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1444, allocations: 11.89 kB / 447.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1445, allocations: 13.72 kB / 447.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1446, allocations: 326.8 kB / 448.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.1446, allocations: 15.94 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.1447, allocations: 25.7 kB / 448.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.1448, allocations: 45.7 kB / 448.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1448, allocations: 3.938 kB / 448.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001551/0.145, allocations: 77.53 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.145, allocations: 8.031 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.145, allocations: 4 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.145, allocations: 0 / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.1451, allocations: 15.98 kB / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1451, allocations: 0 / 448.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.1452, allocations: 7.906 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1452, allocations: 7.938 kB / 448.3 MB, free: 7.527 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 0.0001023/0.1453, allocations: 133.6 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1453, allocations: 7.906 kB / 448.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1454, allocations: 16.31 kB / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1454, allocations: 0 / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1454, allocations: 320 / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1454, allocations: 3.938 kB / 448.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1456, allocations: 193.5 kB / 448.7 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1456, allocations: 4 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.1456, allocations: 4 kB / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1456, allocations: 0 / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1456, allocations: 0 / 448.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1456, allocations: 4 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1456, allocations: 4 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1458, allocations: 109 kB / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1459, allocations: 92.91 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1459, allocations: 3.984 kB / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.146, allocations: 0 / 448.9 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.146, allocations: 11.94 kB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.146, allocations: 4 kB / 448.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1462, allocations: 148 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1462, allocations: 0 / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1464, allocations: 12 kB / 449.1 MB, free: 6.699 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.001326/0.1477, allocations: 0.9471 MB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.1479, allocations: 47.86 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1479, allocations: 0 / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.148, allocations: 19.98 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1483, allocations: 23.98 kB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1499, allocations: 1.484 MB / 451.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1502, allocations: 0.7004 MB / 452.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.1503, allocations: 8.422 kB / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.1503, allocations: 35.42 kB / 452.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1503, allocations: 0 / 452.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1644, allocations: 2.655 MB / 455 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1646, allocations: 233.8 kB / 455.2 MB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.13, allocations: 64 / 455.2 MB, free: 428 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches