Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001142/0.001142, allocations: 105.9 kB / 16.27 MB, free: 5.93 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.001183/0.001183, allocations: 188.2 kB / 17.2 MB, free: 5.574 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.371/1.371, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2551/0.2551, allocations: 43.53 MB / 314 MB, free: 0.5273 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.00177/0.00177, allocations: 72.81 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1212, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003047/0.1243, allocations: 1.689 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1254, allocations: 0.8 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.1256, allocations: 4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1258, allocations: 43.75 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1261, allocations: 51.77 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1263, allocations: 91.64 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1265, allocations: 95.69 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.1266, allocations: 12.17 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.1267, allocations: 39.8 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.1268, allocations: 39.83 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1268, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1269, allocations: 35.98 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.127, allocations: 15.94 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.127, allocations: 39.72 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1272, allocations: 111.6 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1272, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1272, allocations: 4 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1272, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.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.000452/0.1277, allocations: 414.9 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1277, allocations: 15.88 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.1278, allocations: 30.75 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1278, allocations: 12.84 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.128, allocations: 205 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.128, allocations: 4.375 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1281, allocations: 3.938 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1282, allocations: 57.61 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1282, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1282, allocations: 8 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1282, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.1283, allocations: 15.98 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1286, allocations: 288.8 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1288, allocations: 58.62 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1288, allocations: 24.84 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1289, allocations: 0 / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.1291, allocations: 67.39 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1291, allocations: 7.938 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.1296, allocations: 181.1 kB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1296, allocations: 51.41 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1298, allocations: 198 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1298, allocations: 29.7 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.1298, allocations: 104.1 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1299, allocations: 19.72 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.1299, allocations: 21.7 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.13, allocations: 322.8 kB / 445.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.13, allocations: 20 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.1301, allocations: 37.64 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.1302, allocations: 61.7 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1302, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.1304, allocations: 109.6 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1304, allocations: 8 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1304, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1304, allocations: 3.984 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1305, allocations: 12 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1305, allocations: 8.031 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1306, allocations: 3.938 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1306, allocations: 8 kB / 446.1 MB, free: 1.109 MB / 318.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 6.706e-05/0.1307, allocations: 133.6 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1307, allocations: 11.81 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.1307, allocations: 20.7 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1307, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1308, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1308, allocations: 3.938 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1311, allocations: 391.3 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1311, allocations: 0 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1311, allocations: 8 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1311, allocations: 3.938 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1311, allocations: 3.984 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1312, allocations: 4 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1312, allocations: 0 / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.1313, allocations: 208.2 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.1314, allocations: 88.92 kB / 446.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1314, allocations: 12.25 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1315, allocations: 192 / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1315, allocations: 7.984 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1315, allocations: 11.94 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1317, allocations: 147.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1319, allocations: 20 kB / 447.1 MB, free: 15.94 MB / 334.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.00151/0.1334, allocations: 1.096 MB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.1336, allocations: 47.98 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1336, allocations: 0 / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.1337, allocations: 40.06 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1341, allocations: 42.2 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1359, allocations: 1.623 MB / 450 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1363, allocations: 0.704 MB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.167e-05/0.1363, allocations: 12.89 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1364, allocations: 35.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1364, allocations: 0 / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/0.2919, allocations: 3.3 MB / 454 MB, free: 8.973 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.809/9.101, allocations: 0 / 454 MB, free: 8.973 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches