Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 175.1 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006927/0.0006928, allocations: 97.27 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2845/0.2845, allocations: 43.56 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 12 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 58.85 MB / 490.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001659/0.1074, allocations: 1.405 MB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1084, allocations: 0.7305 MB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.1085, allocations: 0 / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1087, allocations: 43.77 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1089, allocations: 39.83 kB / 493.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1091, allocations: 79.84 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1092, allocations: 83.7 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.896e-05/0.1093, allocations: 12.2 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.1093, allocations: 31.86 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.1094, allocations: 35.78 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1094, allocations: 4 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.1095, allocations: 35.98 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.1095, allocations: 15.92 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.1096, allocations: 65.48 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1097, allocations: 80.11 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1097, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1097, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1098, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 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.0003883/0.1101, allocations: 399 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1102, allocations: 8.031 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1102, allocations: 34.75 kB / 494 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1103, allocations: 8.844 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1104, allocations: 220 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1105, allocations: 8.359 kB / 494.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1105, allocations: 3.938 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1106, allocations: 53.67 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1106, allocations: 0 / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1106, allocations: 4 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1106, allocations: 0 / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.1107, allocations: 15.98 kB / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.111, allocations: 296.7 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1111, allocations: 54.67 kB / 494.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1112, allocations: 28.78 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.1112, allocations: 0 / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.1114, allocations: 71.33 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1114, allocations: 0 / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.1118, allocations: 165.3 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1119, allocations: 59.34 kB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.112, allocations: 186.2 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1121, allocations: 29.7 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.1121, allocations: 100.1 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1122, allocations: 27.64 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.1122, allocations: 4 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1123, allocations: 322.8 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.1123, allocations: 20 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.1124, allocations: 33.7 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1125, allocations: 61.64 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1125, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001668/0.1127, allocations: 101.6 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1127, allocations: 4 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1127, allocations: 0 / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.1127, allocations: 3.938 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1128, allocations: 20.31 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.1128, allocations: 0 / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1129, allocations: 15.92 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1129, allocations: 4 kB / 495.9 MB, free: 5.297 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.113, allocations: 129.7 kB / 496 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.113, allocations: 11.81 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.113, allocations: 16.7 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.113, allocations: 0 / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1131, allocations: 0 / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1131, allocations: 7.938 kB / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1134, allocations: 391.5 kB / 496.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1135, allocations: 0 / 496.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.1135, allocations: 16.02 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1135, allocations: 3.938 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1135, allocations: 8 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1135, allocations: 0 / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1135, allocations: 4.125 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.1137, allocations: 196.3 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1138, allocations: 100.8 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1138, allocations: 7.938 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.1139, allocations: 4 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1139, allocations: 7.984 kB / 496.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1139, allocations: 8 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1141, allocations: 140.1 kB / 496.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1141, allocations: 0 / 496.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.1143, allocations: 23.98 kB / 496.9 MB, free: 4.145 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.1155, allocations: 1.106 MB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1157, allocations: 59.91 kB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1157, allocations: 0 / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.1158, allocations: 27.98 kB / 498.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1161, allocations: 23.98 kB / 498.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.1171, allocations: 0.7285 MB / 498.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1173, allocations: 0.716 MB / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1174, allocations: 31.42 kB / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1174, allocations: 0 / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/2.927, allocations: 2.215 MB / 0.4901 GB, free: 42.33 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches