Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.007137/0.007137, allocations: 98.77 kB / 15.87 MB, free: 6.281 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.001452/0.001452, allocations: 195.5 kB / 16.79 MB, free: 6.207 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.443/1.443, allocations: 205.1 MB / 222.6 MB, free: 4.715 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.3098/0.3098, allocations: 43.5 MB / 313.5 MB, free: 8.273 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.001284/0.001284, allocations: 70.56 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002779/0.1101, allocations: 1.76 MB / 441.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1113, allocations: 0.7924 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.1113, allocations: 4 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1116, allocations: 35.84 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1118, allocations: 43.83 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.112, allocations: 75.86 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1121, allocations: 95.73 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1122, allocations: 12.16 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.1123, allocations: 35.8 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.1124, allocations: 35.78 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1124, allocations: 4 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.1125, allocations: 39.98 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1125, allocations: 19.92 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1126, allocations: 31.73 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1127, allocations: 107.9 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1128, allocations: 0 / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1128, allocations: 0 / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1128, allocations: 0 / 443 MB, free: 11.4 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.0004471/0.1132, allocations: 407.1 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1133, allocations: 8.031 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.1133, allocations: 30.75 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1133, allocations: 20.75 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1135, allocations: 215.9 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1136, allocations: 384 / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1136, allocations: 7.938 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1137, allocations: 53.67 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1137, allocations: 0 / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1137, allocations: 0 / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1138, allocations: 4 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.1138, allocations: 19.97 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.1141, allocations: 288.8 kB / 444 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1143, allocations: 62.61 kB / 444.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1144, allocations: 20.84 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1144, allocations: 4 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.1146, allocations: 67.39 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1146, allocations: 3.938 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004849/0.1151, allocations: 173.4 kB / 444.4 MB, free: 9.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1151, allocations: 55.41 kB / 444.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1153, allocations: 178.1 kB / 444.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1153, allocations: 25.7 kB / 444.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.1153, allocations: 100.1 kB / 444.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1154, allocations: 27.66 kB / 444.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1154, allocations: 25.7 kB / 444.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1155, allocations: 322.8 kB / 445.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.1155, allocations: 16 kB / 445.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1156, allocations: 41.64 kB / 445.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1157, allocations: 53.7 kB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1157, allocations: 7.938 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001675/0.1159, allocations: 97.59 kB / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1159, allocations: 4 kB / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1159, allocations: 0 / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1159, allocations: 0 / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.116, allocations: 23.92 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.116, allocations: 160 / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.1161, allocations: 3.938 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1161, allocations: 8 kB / 445.3 MB, free: 8.828 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 7.779e-05/0.1162, allocations: 125.9 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1162, allocations: 11.81 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1163, allocations: 20.69 kB / 445.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1163, allocations: 4 kB / 445.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1163, allocations: 0 / 445.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1163, allocations: 3.938 kB / 445.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.1167, allocations: 387.3 kB / 445.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1167, allocations: 4.031 kB / 445.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1167, allocations: 8 kB / 445.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1167, allocations: 7.938 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1167, allocations: 0 / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1167, allocations: 3.938 kB / 445.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1168, allocations: 0 / 445.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.117, allocations: 208.2 kB / 446.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.117, allocations: 89.02 kB / 446.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.117, allocations: 3.938 kB / 446.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1171, allocations: 8 kB / 446.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1171, allocations: 7.984 kB / 446.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1172, allocations: 4 kB / 446.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.74e-05/0.1173, allocations: 128.1 kB / 446.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1173, allocations: 0 / 446.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1175, allocations: 23.98 kB / 446.4 MB, free: 7.699 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.001301/0.1188, allocations: 1.117 MB / 447.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.119, allocations: 55.91 kB / 447.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.119, allocations: 0 / 447.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.1191, allocations: 31.98 kB / 447.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1194, allocations: 28.23 kB / 447.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1209, allocations: 1.628 MB / 449.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1211, allocations: 0.7041 MB / 449.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.1212, allocations: 20.86 kB / 449.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.1212, allocations: 31.42 kB / 450 MB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1212, allocations: 3.938 kB / 450 MB, free: 3.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.1347, allocations: 3.051 MB / 453 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.1349, allocations: 238.4 kB / 453.3 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.964, allocations: 0 / 453.3 MB, free: 0.6367 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches