Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001197/0.001197, allocations: 96.14 kB / 15.87 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 198.8 kB / 16.79 MB, free: 6.828 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.419/1.419, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3154/0.3154, allocations: 43.5 MB / 313.5 MB, free: 8.527 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.001308/0.001308, allocations: 71.89 kB / 382.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002948/0.1078, allocations: 1.756 MB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.109, allocations: 0.7963 MB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.109, allocations: 0 / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1093, allocations: 51.86 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1095, allocations: 47.83 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1097, allocations: 83.84 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1098, allocations: 91.69 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.1099, allocations: 20.2 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.11, allocations: 39.73 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.1101, allocations: 35.83 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1101, allocations: 8 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.1102, allocations: 36 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1102, allocations: 31.84 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1103, allocations: 43.61 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1104, allocations: 131.8 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1105, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1105, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1105, allocations: 0 / 443.1 MB, free: 11.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004464/0.1109, allocations: 442.7 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.111, allocations: 20.02 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.111, allocations: 30.75 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.111, allocations: 16.75 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1112, allocations: 224.8 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1112, allocations: 4.375 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1113, allocations: 7.875 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1114, allocations: 57.66 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1114, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1114, allocations: 4 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1114, allocations: 0 / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.1115, allocations: 19.98 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.1118, allocations: 300.8 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.112, allocations: 58.62 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.112, allocations: 20.84 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.112, allocations: 4 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.1122, allocations: 71.3 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1122, allocations: 0 / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004707/0.1127, allocations: 181.1 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1127, allocations: 51.41 kB / 444.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1129, allocations: 272.8 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1129, allocations: 29.7 kB / 444.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.113, allocations: 116.1 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.113, allocations: 31.62 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1131, allocations: 21.72 kB / 445 MB, free: 9.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.1132, allocations: 330.8 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.1132, allocations: 23.94 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.1133, allocations: 33.7 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1134, allocations: 61.7 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1134, allocations: 0 / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001664/0.1136, allocations: 105.4 kB / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1136, allocations: 7.984 kB / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1136, allocations: 192 / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.1136, allocations: 0 / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.1137, allocations: 19.94 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1137, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.1138, allocations: 3.938 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1138, allocations: 16.02 kB / 445.6 MB, free: 8.793 MB / 382.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.61e-05/0.1139, allocations: 137.7 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1139, allocations: 19.81 kB / 445.8 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.1139, allocations: 17.41 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1139, allocations: 0 / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.114, allocations: 3.984 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.114, allocations: 3.938 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.1143, allocations: 407.2 kB / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1143, allocations: 0 / 446.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.1144, allocations: 15.98 kB / 446.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1144, allocations: 3.938 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1144, allocations: 4 kB / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1144, allocations: 0 / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1144, allocations: 0 / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1146, allocations: 212.4 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1147, allocations: 85.02 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1147, allocations: 11.92 kB / 446.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.1148, allocations: 384 / 446.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1148, allocations: 4 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1148, allocations: 15.98 kB / 446.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.115, allocations: 204.5 kB / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1152, allocations: 31.98 kB / 446.8 MB, free: 7.535 MB / 382.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.001241/0.1165, allocations: 1.107 MB / 447.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1166, allocations: 59.97 kB / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1166, allocations: 0 / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.1167, allocations: 23.94 kB / 448 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.117, allocations: 39.75 kB / 448 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1187, allocations: 1.871 MB / 449.9 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1189, allocations: 0.7238 MB / 450.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.1189, allocations: 20.78 kB / 450.6 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.119, allocations: 47.42 kB / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.119, allocations: 0 / 450.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.1309, allocations: 3.498 MB / 454.2 MB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1593/0.2903, allocations: 229.8 kB / 454.4 MB, free: 51.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.096, allocations: 0 / 454.4 MB, free: 51.18 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches