Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.001209/0.001209, allocations: 96.14 kB / 15.87 MB, free: 16 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.001346/0.001346, allocations: 206.4 kB / 16.79 MB, free: 6.84 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.514/1.514, allocations: 205.1 MB / 222.6 MB, free: 5 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.3813/0.3813, allocations: 43.5 MB / 313.5 MB, free: 8.594 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.001347/0.001347, allocations: 70.56 kB / 382.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 57.78 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002651/0.1165, allocations: 1.757 MB / 441.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1177, allocations: 0.7963 MB / 442.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.1177, allocations: 4 kB / 442.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.118, allocations: 51.8 kB / 442.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1182, allocations: 55.81 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1184, allocations: 75.84 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1185, allocations: 95.7 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.1186, allocations: 12.2 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.1187, allocations: 47.78 kB / 442.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.1188, allocations: 31.84 kB / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1188, allocations: 3.938 kB / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.1189, allocations: 43.92 kB / 442.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.119, allocations: 31.84 kB / 442.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.119, allocations: 43.67 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1192, allocations: 119.9 kB / 443.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1192, allocations: 3.938 kB / 443.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1192, allocations: 0 / 443.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1192, allocations: 0 / 443.1 MB, free: 11.85 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.0004681/0.1197, allocations: 438.7 kB / 443.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1198, allocations: 8.031 kB / 443.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.1198, allocations: 50.67 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.1199, allocations: 8.844 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1201, allocations: 219.7 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1201, allocations: 384 / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1201, allocations: 15.84 kB / 443.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1203, allocations: 49.67 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1203, allocations: 0 / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1203, allocations: 4 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1203, allocations: 0 / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.1204, allocations: 23.92 kB / 443.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.1207, allocations: 292.9 kB / 444.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1209, allocations: 54.69 kB / 444.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.1209, allocations: 20.84 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.121, allocations: 4 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1212, allocations: 71.33 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.105e-06/0.1212, allocations: 0 / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.1217, allocations: 193.2 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1218, allocations: 55.39 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.122, allocations: 258.7 kB / 444.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.122, allocations: 29.7 kB / 444.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1221, allocations: 116 kB / 445 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1221, allocations: 19.75 kB / 445 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1222, allocations: 29.7 kB / 445 MB, free: 9.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1223, allocations: 322.8 kB / 445.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.1224, allocations: 23.98 kB / 445.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.1224, allocations: 33.7 kB / 445.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1226, allocations: 61.84 kB / 445.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1226, allocations: 0 / 445.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1227, allocations: 109.4 kB / 445.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1228, allocations: 4 kB / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1228, allocations: 160 / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1228, allocations: 0 / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.1229, allocations: 23.92 kB / 445.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1229, allocations: 3.984 kB / 445.6 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.123, allocations: 3.938 kB / 445.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.123, allocations: 12.03 kB / 445.6 MB, free: 9.09 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 0.0001031/0.1231, allocations: 137.8 kB / 445.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1231, allocations: 19.8 kB / 445.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1232, allocations: 21.39 kB / 445.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1232, allocations: 0 / 445.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1232, allocations: 0 / 445.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1232, allocations: 3.938 kB / 445.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.1237, allocations: 407.2 kB / 446.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1237, allocations: 0 / 446.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1237, allocations: 8 kB / 446.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1238, allocations: 7.875 kB / 446.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1238, allocations: 8 kB / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1238, allocations: 0 / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1238, allocations: 0 / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.124, allocations: 204.3 kB / 446.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.1241, allocations: 96.91 kB / 446.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1241, allocations: 3.938 kB / 446.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1242, allocations: 3.938 kB / 446.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1242, allocations: 7.984 kB / 446.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1243, allocations: 4 kB / 446.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1244, allocations: 204 kB / 446.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1244, allocations: 0 / 446.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1247, allocations: 23.98 kB / 446.7 MB, free: 7.844 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.001479/0.1262, allocations: 1.101 MB / 447.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1264, allocations: 59.91 kB / 447.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1264, allocations: 0 / 447.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1265, allocations: 31.94 kB / 447.9 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1268, allocations: 32.08 kB / 447.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1287, allocations: 1.846 MB / 449.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.129, allocations: 0.7121 MB / 450.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1291, allocations: 12.88 kB / 450.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1291, allocations: 43.42 kB / 450.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1292, allocations: 0 / 450.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1436, allocations: 3.444 MB / 454 MB, free: 440 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.1438, allocations: 234.4 kB / 454.2 MB, free: 180 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.769, allocations: 0 / 454.2 MB, free: 180 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches