Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001624/0.001624, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001849/0.001849, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.815/1.815, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2881/0.2881, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001491/0.001491, allocations: 67.84 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003366/0.1165, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1177, allocations: 0.8078 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1178, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.1183, allocations: 55.75 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.1186, allocations: 59.75 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1188, allocations: 79.78 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.119, allocations: 95.69 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1192, allocations: 16.16 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.1193, allocations: 43.8 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.1194, allocations: 31.78 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1194, allocations: 4 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1196, allocations: 39.98 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.1196, allocations: 23.92 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.1197, allocations: 47.66 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1199, allocations: 123.6 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.12, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.12, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.12, allocations: 0 / 443.7 MB, free: 3.672 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.0005468/0.1205, allocations: 450.5 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1206, allocations: 15.89 kB / 444.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1206, allocations: 34.75 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1207, allocations: 16.75 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1209, allocations: 219.5 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1209, allocations: 384 / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1209, allocations: 7.938 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1211, allocations: 53.67 kB / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1211, allocations: 0 / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1211, allocations: 4 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1211, allocations: 4 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.1212, allocations: 23.92 kB / 444.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1215, allocations: 296.8 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1217, allocations: 54.69 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1217, allocations: 24.84 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1218, allocations: 3.938 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.122, allocations: 67.33 kB / 445 MB, free: 2.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.122, allocations: 4 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005253/0.1225, allocations: 177.1 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1225, allocations: 59.41 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1228, allocations: 263.7 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1228, allocations: 25.7 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.1228, allocations: 116 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1229, allocations: 31.62 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1229, allocations: 17.72 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.123, allocations: 330.8 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.1231, allocations: 19.98 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.1231, allocations: 45.64 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1233, allocations: 57.64 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1233, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.1235, allocations: 105.5 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1235, allocations: 4 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1235, allocations: 0 / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.1235, allocations: 4 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1236, allocations: 15.98 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1237, allocations: 4.031 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1237, allocations: 11.84 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1237, allocations: 0 / 446.3 MB, free: 0.9023 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 0.0001149/0.1238, allocations: 137.8 kB / 446.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1239, allocations: 11.91 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.1239, allocations: 25.39 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1239, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.124, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.124, allocations: 3.938 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.1244, allocations: 407.2 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1244, allocations: 4 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1244, allocations: 7.938 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1244, allocations: 7.938 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1244, allocations: 4 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1244, allocations: 0 / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1245, allocations: 4 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1247, allocations: 204.4 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1248, allocations: 85.02 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1248, allocations: 11.88 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.1249, allocations: 4 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1249, allocations: 8.359 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.125, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.1252, allocations: 203.2 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1255, allocations: 31.98 kB / 447.4 MB, free: 15.66 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.001642/0.1271, allocations: 1.102 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1274, allocations: 63.91 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1274, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.1275, allocations: 31.92 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1279, allocations: 34.14 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1302, allocations: 1.803 MB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.1306, allocations: 0.7195 MB / 451.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.445e-05/0.1307, allocations: 17.17 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.1308, allocations: 43.42 kB / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1308, allocations: 0 / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1518, allocations: 3.626 MB / 454.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.189, allocations: 15.88 kB / 454.8 MB, free: 8.141 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches