Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001801/0.001801, allocations: 101.7 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.00163/0.00163, allocations: 194.5 kB / 16.91 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.537/1.537, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3158/0.3158, allocations: 43.5 MB / 313.6 MB, free: 8.555 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.001585/0.001586, allocations: 67.89 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004871/0.1348, allocations: 1.908 MB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1364, allocations: 0.8703 MB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1366, allocations: 3.938 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.137, allocations: 159.6 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.1374, allocations: 123.6 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.1379, allocations: 135.7 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.1383, allocations: 219.4 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1385, allocations: 29.53 kB / 443.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.1387, allocations: 99.59 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.139, allocations: 127.5 kB / 443.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.139, allocations: 8 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1392, allocations: 51.97 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.1393, allocations: 47.83 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1394, allocations: 83.34 kB / 444 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1398, allocations: 187.6 kB / 444.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1398, allocations: 4 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1398, allocations: 4 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1398, allocations: 0 / 444.1 MB, free: 10.57 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.000818/0.1406, allocations: 0.5098 MB / 444.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1407, allocations: 15.89 kB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.1407, allocations: 38.73 kB / 444.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.1408, allocations: 24.66 kB / 444.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.1412, allocations: 263.6 kB / 445 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1412, allocations: 4.375 kB / 445 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1412, allocations: 11.94 kB / 445 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1415, allocations: 99.28 kB / 445.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1415, allocations: 0 / 445.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1416, allocations: 8 kB / 445.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1416, allocations: 0 / 445.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1417, allocations: 39.91 kB / 445.1 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.1423, allocations: 448.8 kB / 445.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1426, allocations: 109.3 kB / 445.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.1427, allocations: 45.7 kB / 445.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1427, allocations: 0 / 445.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.1431, allocations: 117 kB / 445.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1431, allocations: 0 / 445.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009196/0.144, allocations: 356.6 kB / 446.2 MB, free: 8.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.1441, allocations: 81.05 kB / 446.3 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1444, allocations: 355 kB / 446.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1445, allocations: 29.7 kB / 446.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1446, allocations: 144.4 kB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.1447, allocations: 51.34 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.1447, allocations: 33.72 kB / 446.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1449, allocations: 342.8 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.145, allocations: 40.17 kB / 447.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1451, allocations: 79.34 kB / 447.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.1454, allocations: 115.5 kB / 447.4 MB, free: 6.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1454, allocations: 8 kB / 447.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003596/0.1458, allocations: 173.3 kB / 447.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1458, allocations: 11.94 kB / 447.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1458, allocations: 0 / 447.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1458, allocations: 4 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.146, allocations: 31.92 kB / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.146, allocations: 0 / 447.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.1461, allocations: 15.92 kB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1461, allocations: 12.06 kB / 447.7 MB, free: 6.727 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.000154/0.1463, allocations: 161.7 kB / 447.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.1463, allocations: 27.62 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.1464, allocations: 29.73 kB / 447.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1464, allocations: 3.938 kB / 447.9 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1464, allocations: 3.984 kB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1464, allocations: 7.984 kB / 447.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.1472, allocations: 0.6086 MB / 448.5 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1472, allocations: 4 kB / 448.5 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.1473, allocations: 15.98 kB / 448.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1473, allocations: 4 kB / 448.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1473, allocations: 8 kB / 448.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1473, allocations: 0 / 448.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1473, allocations: 3.938 kB / 448.6 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.1477, allocations: 360.2 kB / 448.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1478, allocations: 96.83 kB / 449 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1478, allocations: 4 kB / 449 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.148, allocations: 7.984 kB / 449 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.148, allocations: 19.98 kB / 449 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.148, allocations: 8 kB / 449.1 MB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.1483, allocations: 265.9 kB / 449.3 MB, free: 4.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1483, allocations: 0 / 449.3 MB, free: 4.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1486, allocations: 43.98 kB / 449.4 MB, free: 4.949 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.00175/0.1504, allocations: 1.275 MB / 450.6 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1507, allocations: 115.9 kB / 450.7 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1507, allocations: 4 kB / 450.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1509, allocations: 63.84 kB / 450.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.1514, allocations: 60.64 kB / 450.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.1543, allocations: 2.491 MB / 453.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1547, allocations: 0.7476 MB / 454.1 MB, free: 64 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1548, allocations: 34.56 kB / 454.1 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1769/0.3317, allocations: 71.97 kB / 454.2 MB, free: 48.18 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3318, allocations: 0 / 454.2 MB, free: 48.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.3488, allocations: 5.189 MB / 459.4 MB, free: 47.66 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.349, allocations: 239.1 kB / 459.6 MB, free: 47.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.164, allocations: 0 / 459.6 MB, free: 47.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches