Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001667/0.001667, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001882/0.001882, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.1963/0.1963, allocations: 43.52 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.001619/0.001619, allocations: 76.33 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09239, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003114/0.09555, allocations: 1.689 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.09686, allocations: 0.8 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.09702, allocations: 8 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.09739, allocations: 51.75 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.0977, allocations: 51.77 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.09802, allocations: 91.75 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.0982, allocations: 99.69 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.09834, allocations: 12.17 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.09844, allocations: 43.78 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.09853, allocations: 23.86 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.09856, allocations: 7.938 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.09869, allocations: 43.97 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.09877, allocations: 23.92 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.09884, allocations: 43.62 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.09904, allocations: 135.6 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.09905, allocations: 4 kB / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09906, allocations: 0 / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09907, allocations: 0 / 443.7 MB, free: 3.648 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.0004736/0.09955, allocations: 438.7 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.0996, allocations: 15.89 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.09964, allocations: 34.69 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.09968, allocations: 16.75 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.09985, allocations: 220.9 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09987, allocations: 8.375 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.0999, allocations: 3.938 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1, allocations: 53.67 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1001, allocations: 0 / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1001, allocations: 4 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1001, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.1002, allocations: 23.92 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.1004, allocations: 308.7 kB / 444.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1006, allocations: 62.67 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.1007, allocations: 24.78 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1007, allocations: 0 / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.1009, allocations: 71.33 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1009, allocations: 4 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.1014, allocations: 177.1 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1015, allocations: 51.41 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1017, allocations: 275.7 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1017, allocations: 29.7 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1018, allocations: 112.1 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1018, allocations: 27.64 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1018, allocations: 25.72 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.1019, allocations: 330.8 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.102, allocations: 20 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.102, allocations: 33.7 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1021, allocations: 69.62 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1022, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1023, allocations: 105.5 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1024, allocations: 5.25 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1024, allocations: 0 / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1024, allocations: 0 / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.1025, allocations: 19.94 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1025, allocations: 0 / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.1026, allocations: 11.92 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1026, allocations: 4 kB / 446.3 MB, free: 0.8672 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.79e-05/0.1027, allocations: 133.8 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.1027, allocations: 19.81 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.1027, allocations: 21.39 kB / 446.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1027, allocations: 0 / 446.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1028, allocations: 0 / 446.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1028, allocations: 3.938 kB / 446.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.1031, allocations: 411.2 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1031, allocations: 384 / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.1031, allocations: 11.94 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1032, allocations: 7.969 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1032, allocations: 7.938 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1032, allocations: 4 kB / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1032, allocations: 192 / 446.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1034, allocations: 200.4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.1034, allocations: 92.94 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1035, allocations: 7.938 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1035, allocations: 4 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1036, allocations: 11.98 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1036, allocations: 4 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1038, allocations: 200.2 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1038, allocations: 0 / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1041, allocations: 31.98 kB / 447.4 MB, free: 15.61 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.001411/0.1055, allocations: 1.099 MB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1057, allocations: 71.91 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1057, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/0.1058, allocations: 35.86 kB / 448.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1061, allocations: 29.95 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1079, allocations: 1.836 MB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1082, allocations: 0.7236 MB / 451.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1083, allocations: 20.78 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.1083, allocations: 39.42 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1083, allocations: 3.938 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.1279, allocations: 3.69 MB / 455 MB, free: 7.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.375, allocations: 4 kB / 455 MB, free: 7.992 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches