Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001724/0.001724, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001529/0.001529, allocations: 188.1 kB / 17.2 MB, free: 5.574 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.58/1.58, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.213/0.213, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001457/0.001457, allocations: 74.95 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1028, allocations: 57.8 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00279/0.1056, allocations: 1.771 MB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1072, allocations: 1.476 MB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1073, allocations: 0 / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1077, allocations: 59.69 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.108, allocations: 91.53 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1083, allocations: 143.5 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1086, allocations: 171.5 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1086, allocations: 13.83 kB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.1087, allocations: 83.58 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1089, allocations: 79.19 kB / 444.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1089, allocations: 4 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.109, allocations: 63.92 kB / 444.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.1091, allocations: 35.89 kB / 444.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1092, allocations: 59.61 kB / 444.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1094, allocations: 171.4 kB / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1094, allocations: 0 / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1094, allocations: 0 / 444.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1094, allocations: 0 / 444.8 MB, free: 2.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005108/0.1099, allocations: 470.6 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1099, allocations: 11.89 kB / 445.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.11, allocations: 38.75 kB / 445.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.11, allocations: 16.75 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1102, allocations: 247.4 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1102, allocations: 8.297 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1103, allocations: 7.938 kB / 445.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1104, allocations: 101.1 kB / 445.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1105, allocations: 0 / 445.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1105, allocations: 3.984 kB / 445.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1105, allocations: 0 / 445.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1106, allocations: 31.92 kB / 445.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1107, allocations: 214.5 kB / 446 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.111, allocations: 121 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1111, allocations: 41.69 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1111, allocations: 3.984 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.1113, allocations: 109.1 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1113, allocations: 0 / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003714/0.1117, allocations: 161.4 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1117, allocations: 136.5 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1119, allocations: 215.7 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1119, allocations: 37.7 kB / 446.8 MB, free: 356 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.112, allocations: 108.1 kB / 446.9 MB, free: 244 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.112, allocations: 27.66 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1121, allocations: 29.7 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1122, allocations: 330.8 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.1123, allocations: 31.98 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1124, allocations: 73.12 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1126, allocations: 83.36 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1126, allocations: 3.938 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002568/0.1128, allocations: 138 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1129, allocations: 8.094 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1129, allocations: 0 / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1129, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.113, allocations: 23.92 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.113, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.1131, allocations: 11.91 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1131, allocations: 8 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000101/0.1132, allocations: 133.8 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1133, allocations: 19.81 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1133, allocations: 16.98 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1133, allocations: 4 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1133, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1134, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1135, allocations: 225.4 kB / 448 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1135, allocations: 0 / 448 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.1136, allocations: 8 kB / 448 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1136, allocations: 3.984 kB / 448 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1136, allocations: 4 kB / 448 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1136, allocations: 3.938 kB / 448 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1136, allocations: 4 kB / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1139, allocations: 169.6 kB / 448.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.114, allocations: 88.92 kB / 448.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.114, allocations: 7.984 kB / 448.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.1141, allocations: 8 kB / 448.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1141, allocations: 11.98 kB / 448.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1142, allocations: 4 kB / 448.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1143, allocations: 161.5 kB / 448.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1143, allocations: 0 / 448.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1146, allocations: 36 kB / 448.5 MB, free: 14.44 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001489/0.1161, allocations: 1.047 MB / 449.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.1164, allocations: 87.83 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1164, allocations: 0 / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1165, allocations: 44.09 kB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1169, allocations: 70.3 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.1191, allocations: 1.808 MB / 451.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1194, allocations: 0.7164 MB / 452.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1195, allocations: 29.53 kB / 452.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.1196, allocations: 51.41 kB / 452.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1196, allocations: 4 kB / 452.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.1412, allocations: 4.607 MB / 457 MB, free: 5.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.068, allocations: 4 kB / 457 MB, free: 5.867 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches