Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001226/0.001227, allocations: 103.6 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.001484/0.001485, allocations: 190.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.438/1.438, 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.1882/0.1882, 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.001621/0.001621, allocations: 67.81 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09895, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003199/0.1022, allocations: 1.682 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1033, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.1034, allocations: 4 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1038, allocations: 91.69 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.104, allocations: 67.72 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1043, allocations: 83.77 kB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1044, allocations: 107.7 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.1045, allocations: 16.17 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.1046, allocations: 55.77 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.1047, allocations: 59.75 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1047, allocations: 4 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.1048, allocations: 43.98 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1048, allocations: 19.92 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1049, allocations: 31.75 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1051, allocations: 115.6 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1051, allocations: 0 / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1051, allocations: 0 / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1051, allocations: 0 / 443.8 MB, free: 3.602 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.0004066/0.1055, allocations: 426.9 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1055, allocations: 11.89 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.1056, allocations: 34.75 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1056, allocations: 16.73 kB / 444.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1058, allocations: 204.1 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1058, allocations: 4.375 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1058, allocations: 7.938 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.106, allocations: 53.67 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.106, allocations: 4 kB / 444.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.106, allocations: 3.984 kB / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.106, allocations: 0 / 444.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.1061, allocations: 23.92 kB / 444.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.1064, allocations: 296.7 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1065, allocations: 58.62 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.1066, allocations: 24.84 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1066, allocations: 3.938 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1068, allocations: 71.33 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1068, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004799/0.1073, allocations: 173.2 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1073, allocations: 51.41 kB / 445.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1075, allocations: 219.5 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1075, allocations: 33.69 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.1076, allocations: 100.1 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1076, allocations: 27.64 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1076, allocations: 21.72 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.1077, allocations: 322.8 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.1078, allocations: 19.98 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.1078, allocations: 41.7 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.329e-05/0.1079, allocations: 65.7 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1079, allocations: 0 / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.1081, allocations: 105.4 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1081, allocations: 5.25 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1081, allocations: 0 / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1081, allocations: 4 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.1082, allocations: 20.02 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1082, allocations: 0 / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1083, allocations: 11.94 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1083, allocations: 0 / 446.2 MB, free: 0.9414 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.453e-05/0.1084, allocations: 133.8 kB / 446.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1084, allocations: 15.81 kB / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.1084, allocations: 21.39 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1084, allocations: 0 / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1084, allocations: 0 / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1084, allocations: 11.94 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1088, allocations: 387.3 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1088, allocations: 0 / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.1088, allocations: 16.3 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1088, allocations: 3.938 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1088, allocations: 0 / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1088, allocations: 11.94 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1088, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.109, allocations: 204.5 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1091, allocations: 88.92 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1091, allocations: 7.875 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1092, allocations: 7.984 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1092, allocations: 8 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1093, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1094, allocations: 171.2 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1094, allocations: 0 / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1097, allocations: 20 kB / 447.3 MB, free: 15.75 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.001377/0.111, allocations: 1.091 MB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1113, allocations: 63.91 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1113, allocations: 0 / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.1113, allocations: 36.03 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1117, allocations: 29.95 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1135, allocations: 1.69 MB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1139, allocations: 0.7122 MB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.834e-05/0.1139, allocations: 12.86 kB / 450.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.114, allocations: 35.42 kB / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.114, allocations: 7.938 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.1342, allocations: 3.409 MB / 454.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/8.78, allocations: 7.938 kB / 454.4 MB, free: 8.582 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches