Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.001162/0.001162, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.216/1.216, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2869/0.2869, allocations: 43.49 MB / 313.5 MB, free: 8.293 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.001285/0.001285, allocations: 63.91 kB / 382.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09385, allocations: 57.78 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003069/0.09696, allocations: 1.996 MB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.09824, allocations: 0.9522 MB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.09832, allocations: 3.938 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.09884, allocations: 179.6 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.09911, allocations: 151.5 kB / 443.2 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.09951, allocations: 171.7 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.09976, allocations: 251.2 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.09985, allocations: 33.67 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.09997, allocations: 87.56 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1001, allocations: 107.5 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.1001, allocations: 4 kB / 443.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1002, allocations: 51.91 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1003, allocations: 47.77 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.1004, allocations: 83.45 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1006, allocations: 223.5 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1006, allocations: 3.984 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1006, allocations: 0 / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1007, allocations: 0 / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006346/0.1013, allocations: 0.5466 MB / 444.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1013, allocations: 8.031 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.1014, allocations: 42.73 kB / 444.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1014, allocations: 20.66 kB / 444.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1017, allocations: 279.6 kB / 445.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1017, allocations: 4.375 kB / 445.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1017, allocations: 7.938 kB / 445.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.102, allocations: 108.2 kB / 445.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.102, allocations: 0 / 445.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.102, allocations: 7.984 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.102, allocations: 4 kB / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1021, allocations: 31.98 kB / 445.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1025, allocations: 377.6 kB / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1028, allocations: 117.2 kB / 445.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.1029, allocations: 45.7 kB / 445.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1029, allocations: 4 kB / 445.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1031, allocations: 124.8 kB / 445.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1032, allocations: 0 / 445.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004015/0.1036, allocations: 181.5 kB / 446.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1036, allocations: 106.8 kB / 446.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1039, allocations: 342.9 kB / 446.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.104, allocations: 25.7 kB / 446.6 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.104, allocations: 144 kB / 446.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1041, allocations: 31.67 kB / 446.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.1041, allocations: 29.72 kB / 446.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1042, allocations: 342.8 kB / 447.1 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.1043, allocations: 35.92 kB / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1044, allocations: 77.12 kB / 447.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1046, allocations: 99.34 kB / 447.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1046, allocations: 4.031 kB / 447.3 MB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002553/0.1049, allocations: 141.3 kB / 447.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1049, allocations: 4 kB / 447.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1049, allocations: 0 / 447.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1049, allocations: 4 kB / 447.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.105, allocations: 23.92 kB / 447.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.105, allocations: 3.938 kB / 447.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.1051, allocations: 19.92 kB / 447.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1052, allocations: 4.5 kB / 447.5 MB, free: 6.574 MB / 382.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001131/0.1053, allocations: 157.7 kB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1053, allocations: 23.72 kB / 447.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1054, allocations: 25.73 kB / 447.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1054, allocations: 4 kB / 447.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1054, allocations: 0 / 447.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1054, allocations: 11.86 kB / 447.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1056, allocations: 253.4 kB / 448 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1056, allocations: 0 / 448 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1056, allocations: 7.984 kB / 448 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1056, allocations: 11.94 kB / 448 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1057, allocations: 0 / 448 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1057, allocations: 0 / 448 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1057, allocations: 4 kB / 448 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.106, allocations: 181.6 kB / 448.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.106, allocations: 88.92 kB / 448.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1061, allocations: 11.94 kB / 448.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1062, allocations: 11.98 kB / 448.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1062, allocations: 11.92 kB / 448.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1062, allocations: 4 kB / 448.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.1064, allocations: 249.9 kB / 448.6 MB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1064, allocations: 0 / 448.6 MB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1067, allocations: 43.89 kB / 448.6 MB, free: 5.398 MB / 382.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001276/0.108, allocations: 1.03 MB / 449.6 MB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1082, allocations: 91.84 kB / 449.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1082, allocations: 0 / 449.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1083, allocations: 52.09 kB / 449.8 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1087, allocations: 64.66 kB / 449.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1111, allocations: 2.327 MB / 452.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1114, allocations: 0.7437 MB / 452.9 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.812e-05/0.1114, allocations: 33.88 kB / 452.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.1115, allocations: 63.41 kB / 453 MB, free: 0.875 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1115, allocations: 0 / 453 MB, free: 0.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/0.2674, allocations: 5.247 MB / 458.3 MB, free: 47.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.2676, allocations: 243.3 kB / 458.5 MB, free: 47.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/1.864, allocations: 0 / 458.5 MB, free: 47.65 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches