Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.001263/0.001263, allocations: 101.7 kB / 16.27 MB, free: 5.973 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.001445/0.001445, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2024/0.2024, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001716/0.001716, allocations: 68.58 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1005, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.0029/0.1034, allocations: 1.693 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1044, allocations: 0.8039 MB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.1045, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1048, allocations: 43.77 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.105, allocations: 51.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1053, allocations: 83.77 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1055, allocations: 95.69 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.1055, allocations: 16.17 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.1056, allocations: 39.78 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.1057, allocations: 35.78 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1057, allocations: 8 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.1058, allocations: 39.98 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.1059, allocations: 15.92 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1059, allocations: 35.73 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1061, allocations: 111.7 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1061, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1061, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1061, allocations: 0 / 443.7 MB, free: 3.707 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003894/0.1065, allocations: 414.9 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.1066, allocations: 19.89 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.1066, allocations: 30.75 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1066, allocations: 8.844 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1068, allocations: 209.2 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1068, allocations: 384 / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.1068, allocations: 7.938 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1069, allocations: 53.67 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.107, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.107, allocations: 3.938 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.107, allocations: 4 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.107, allocations: 23.92 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.1073, allocations: 284.8 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1075, allocations: 58.67 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.1075, allocations: 16.86 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1075, allocations: 15.92 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1077, allocations: 67.33 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1077, allocations: 0 / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.1082, allocations: 181.3 kB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.1082, allocations: 59.41 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1083, allocations: 190 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.1083, allocations: 33.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1084, allocations: 100.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1084, allocations: 19.72 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1084, allocations: 25.7 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1085, allocations: 322.8 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1085, allocations: 20 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.1086, allocations: 33.7 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.1087, allocations: 65.64 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1087, allocations: 4 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.1089, allocations: 97.56 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1089, allocations: 4 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1089, allocations: 3.938 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1089, allocations: 4 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.109, allocations: 12 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.109, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.109, allocations: 19.95 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1091, allocations: 4 kB / 446.1 MB, free: 1.094 MB / 318.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 6.113e-05/0.1091, allocations: 125.7 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1091, allocations: 11.81 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1092, allocations: 16.7 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1092, allocations: 4 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1092, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1092, allocations: 3.938 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1095, allocations: 391.3 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1095, allocations: 192 / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.1096, allocations: 11.94 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1096, allocations: 15.86 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.1096, allocations: 4 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1096, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1096, allocations: 4 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1098, allocations: 196.3 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.1098, allocations: 88.92 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1098, allocations: 11.94 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.1099, allocations: 3.984 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1099, allocations: 4 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1099, allocations: 4 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1101, allocations: 143.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1101, allocations: 7.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1103, allocations: 20 kB / 447.1 MB, free: 15.93 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: 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.001416/0.1117, allocations: 1.099 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1119, allocations: 63.91 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1119, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.112, allocations: 31.92 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1124, allocations: 31.33 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.114, allocations: 1.631 MB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1144, allocations: 0.704 MB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.1144, allocations: 17.17 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.1145, allocations: 35.42 kB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1145, allocations: 0 / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.1358, allocations: 3.295 MB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.35, allocations: 3.938 kB / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches