Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001074/0.001074, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001051/0.001051, allocations: 190.4 kB / 16.9 MB, free: 6.191 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.568/1.568, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3193/0.3193, allocations: 43.5 MB / 313.6 MB, free: 8.277 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.001403/0.001403, allocations: 67.91 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003664/0.1215, allocations: 1.904 MB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.123, allocations: 0.8742 MB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1232, allocations: 7.938 kB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1236, allocations: 155.6 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1239, allocations: 123.6 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1243, allocations: 131.8 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1245, allocations: 219.3 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1246, allocations: 29.52 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1248, allocations: 99.61 kB / 443.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1249, allocations: 135.5 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.125, allocations: 4 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.1251, allocations: 44 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.1252, allocations: 55.83 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.1252, allocations: 75.41 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1255, allocations: 187.6 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1255, allocations: 4 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1255, allocations: 0 / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1255, allocations: 0 / 444.1 MB, free: 10.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006406/0.1262, allocations: 0.521 MB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1262, allocations: 15.88 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1263, allocations: 34.75 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1263, allocations: 24.66 kB / 444.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1266, allocations: 263.6 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1266, allocations: 8.375 kB / 445 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1267, allocations: 11.92 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1269, allocations: 95.3 kB / 445.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1269, allocations: 4 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1269, allocations: 4 kB / 445.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1269, allocations: 3.938 kB / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.127, allocations: 39.91 kB / 445.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1275, allocations: 444.8 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1278, allocations: 117.3 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1279, allocations: 45.69 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1279, allocations: 0 / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1282, allocations: 113 kB / 445.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1282, allocations: 0 / 445.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008526/0.1291, allocations: 364.7 kB / 446.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.1291, allocations: 81.05 kB / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1295, allocations: 351 kB / 446.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1295, allocations: 29.7 kB / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.1296, allocations: 144.4 kB / 446.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1296, allocations: 47.36 kB / 446.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.1297, allocations: 37.7 kB / 446.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1298, allocations: 342.8 kB / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.1299, allocations: 35.98 kB / 447.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.13, allocations: 75.34 kB / 447.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1303, allocations: 127.4 kB / 447.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1303, allocations: 0 / 447.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003024/0.1306, allocations: 173.3 kB / 447.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1306, allocations: 4 kB / 447.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1306, allocations: 4.062 kB / 447.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1306, allocations: 4 kB / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1308, allocations: 39.84 kB / 447.7 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1308, allocations: 4 kB / 447.7 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.1309, allocations: 16.05 kB / 447.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1309, allocations: 4 kB / 447.7 MB, free: 6.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001415/0.131, allocations: 161.7 kB / 447.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.1311, allocations: 35.56 kB / 447.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.1312, allocations: 29.73 kB / 447.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1312, allocations: 3.938 kB / 447.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1312, allocations: 4 kB / 447.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1312, allocations: 0 / 447.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.1319, allocations: 0.6088 MB / 448.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1319, allocations: 4 kB / 448.5 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.132, allocations: 15.98 kB / 448.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.132, allocations: 4 kB / 448.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.132, allocations: 8 kB / 448.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.132, allocations: 0 / 448.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.132, allocations: 0 / 448.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.1324, allocations: 368.2 kB / 448.9 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1325, allocations: 100.8 kB / 449 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1325, allocations: 4 kB / 449 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1326, allocations: 8 kB / 449 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.1327, allocations: 11.98 kB / 449 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.1327, allocations: 15.98 kB / 449.1 MB, free: 5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.1329, allocations: 257.9 kB / 449.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.133, allocations: 0 / 449.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1333, allocations: 43.98 kB / 449.4 MB, free: 4.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00163/0.1349, allocations: 1.27 MB / 450.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1352, allocations: 123.9 kB / 450.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1352, allocations: 0 / 450.7 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1353, allocations: 59.91 kB / 450.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.1358, allocations: 64.64 kB / 450.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.1385, allocations: 2.495 MB / 453.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1849/0.3235, allocations: 0.7434 MB / 454.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.3237, allocations: 30.86 kB / 454.1 MB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3238, allocations: 76.16 kB / 454.2 MB, free: 48.34 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3238, allocations: 0 / 454.2 MB, free: 48.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.3387, allocations: 5.19 MB / 459.4 MB, free: 47.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.3389, allocations: 246.2 kB / 459.6 MB, free: 47.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.137, allocations: 4 kB / 459.6 MB, free: 47.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches