Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.00148/0.00148, allocations: 99.56 kB / 16.27 MB, free: 5.961 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.001854/0.001854, allocations: 196.1 kB / 17.2 MB, free: 5.594 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.401/1.401, 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.2601/0.2601, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001853/0.001853, allocations: 73.59 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09688, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002974/0.0999, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.101, allocations: 0.7961 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.666e-05/0.1011, allocations: 8 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1015, allocations: 39.77 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1018, allocations: 55.77 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1021, allocations: 83.75 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1022, allocations: 95.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1023, allocations: 8.172 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.1024, allocations: 47.77 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.1025, allocations: 35.8 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1026, allocations: 4 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1027, allocations: 35.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1027, allocations: 23.91 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.1028, allocations: 31.75 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.103, allocations: 111.7 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.103, allocations: 4 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.103, allocations: 0 / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.103, allocations: 0 / 443.7 MB, free: 3.723 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.0004968/0.1035, allocations: 414.9 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1036, allocations: 15.89 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.1036, allocations: 34.75 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1037, allocations: 8.844 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1039, allocations: 205 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1039, allocations: 384 / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.104, allocations: 11.94 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1041, allocations: 49.67 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1041, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1041, allocations: 7.984 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1042, allocations: 4 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.1042, allocations: 23.92 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1046, allocations: 288.8 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1047, allocations: 54.67 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.1048, allocations: 28.8 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1048, allocations: 7.875 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.105, allocations: 71.38 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.105, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005203/0.1055, allocations: 173.2 kB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.1056, allocations: 51.41 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1057, allocations: 198 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1057, allocations: 29.7 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.1058, allocations: 100.1 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1058, allocations: 19.72 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1058, allocations: 29.7 kB / 445.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.1059, allocations: 322.8 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.1059, allocations: 12 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.106, allocations: 37.7 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.1061, allocations: 69.62 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1061, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000162/0.1063, allocations: 105.5 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1063, allocations: 4 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1063, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1063, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1064, allocations: 16 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1064, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1065, allocations: 15.95 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1065, allocations: 0 / 446 MB, free: 1.117 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 7.176e-05/0.1066, allocations: 133.2 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1066, allocations: 15.81 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.1067, allocations: 16.7 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1067, allocations: 0 / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1067, allocations: 0 / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1067, allocations: 11.88 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.107, allocations: 387.4 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.107, allocations: 0 / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.1071, allocations: 15.92 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1071, allocations: 3.938 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1071, allocations: 4 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1071, allocations: 384 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1071, allocations: 192 / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1073, allocations: 204.3 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.1073, allocations: 92.86 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1073, allocations: 7.938 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1074, allocations: 7.984 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1075, allocations: 11.94 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1075, allocations: 4 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1076, allocations: 139.2 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1076, allocations: 4 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1079, allocations: 20 kB / 447.1 MB, free: 15.95 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.001593/0.1095, allocations: 1.092 MB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1097, allocations: 67.91 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1097, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1098, allocations: 27.94 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1101, allocations: 30.12 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1119, allocations: 1.627 MB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1121, allocations: 0.7079 MB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.1122, allocations: 21.16 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1122, allocations: 31.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1123, allocations: 3.938 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1338, allocations: 3.293 MB / 454 MB, free: 8.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.88, allocations: 3.938 kB / 454 MB, free: 8.973 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches