Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001488/0.001488, allocations: 101.2 kB / 16.27 MB, free: 5.961 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.001621/0.001621, allocations: 190.2 kB / 17.19 MB, free: 5.594 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.829/1.829, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2457/0.2457, 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.00154/0.00154, allocations: 71.36 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003147/0.1198, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000992/0.1208, allocations: 0.8039 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.1209, allocations: 4 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1213, allocations: 51.73 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1215, allocations: 59.77 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1218, allocations: 87.75 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1219, allocations: 95.7 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1221, allocations: 12.17 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.1222, allocations: 43.77 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.1222, allocations: 35.8 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1223, allocations: 4 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.1224, allocations: 35.97 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.04e-05/0.1224, allocations: 27.92 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1225, allocations: 39.69 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1227, allocations: 131.6 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1227, allocations: 0 / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1227, allocations: 0 / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1227, allocations: 0 / 443.7 MB, free: 3.668 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.0005362/0.1233, allocations: 442.6 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1233, allocations: 11.89 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.1234, allocations: 42.73 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1234, allocations: 12.75 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1236, allocations: 223.5 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1236, allocations: 4.375 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1236, allocations: 11.94 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1238, allocations: 49.67 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1238, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1238, allocations: 4 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1238, allocations: 0 / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.1239, allocations: 23.92 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1242, allocations: 300.8 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1243, allocations: 58.67 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.1244, allocations: 20.84 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1244, allocations: 4 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1246, allocations: 75.31 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1246, allocations: 0 / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.1251, allocations: 181.1 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.1251, allocations: 51.41 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1253, allocations: 259.7 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1253, allocations: 25.7 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.1254, allocations: 116 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1254, allocations: 23.66 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1255, allocations: 33.7 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.1255, allocations: 326.8 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1256, allocations: 23.98 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.1256, allocations: 33.7 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.1257, allocations: 57.66 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1257, allocations: 0 / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.1259, allocations: 105.6 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1259, allocations: 11.94 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1259, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.126, allocations: 0 / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.126, allocations: 12 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1261, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.1261, allocations: 11.83 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1261, allocations: 8 kB / 446.3 MB, free: 0.8984 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 8.535e-05/0.1262, allocations: 141.3 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1262, allocations: 11.91 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1263, allocations: 25.38 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1263, allocations: 4 kB / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1263, allocations: 0 / 446.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1263, allocations: 3.938 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1266, allocations: 403.4 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1266, allocations: 0 / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1267, allocations: 20.33 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1267, allocations: 3.938 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1267, allocations: 12.19 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1267, allocations: 0 / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1267, allocations: 3.938 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1269, allocations: 196.2 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.127, allocations: 85.02 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.127, allocations: 19.92 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1271, allocations: 0 / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1271, allocations: 4 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1271, allocations: 7.984 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1273, allocations: 203.2 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1273, allocations: 0 / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1276, allocations: 24 kB / 447.4 MB, free: 15.65 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.001438/0.129, allocations: 1.096 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1292, allocations: 59.91 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1292, allocations: 0 / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.1293, allocations: 35.92 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1297, allocations: 33.94 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1316, allocations: 1.807 MB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1319, allocations: 0.7234 MB / 451.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.132, allocations: 12.88 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.132, allocations: 43.36 kB / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.132, allocations: 0 / 451.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.1532, allocations: 3.623 MB / 454.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.258, allocations: 3.938 kB / 454.8 MB, free: 8.156 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches