Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.0009637/0.0009637, 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.00112/0.00112, allocations: 202.6 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.273/1.273, 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.2819/0.2819, allocations: 43.5 MB / 313.5 MB, free: 8.547 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.001308/0.001308, allocations: 74.53 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09637, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002658/0.09907, allocations: 1.757 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1001, allocations: 0.7962 MB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1002, allocations: 0 / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1004, allocations: 43.88 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1006, allocations: 47.77 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.1008, allocations: 79.91 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1009, allocations: 111.6 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.101, allocations: 12.22 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.1011, allocations: 51.77 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.1012, allocations: 43.83 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1012, allocations: 4 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.1013, allocations: 39.98 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.1013, allocations: 23.92 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.1014, allocations: 43.66 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1016, allocations: 123.8 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1016, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.1016, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1016, allocations: 0 / 443.1 MB, free: 11.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004729/0.1021, allocations: 423 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1021, allocations: 12.03 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1021, allocations: 34.75 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1022, allocations: 12.75 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1024, allocations: 224.7 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1024, allocations: 384 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1025, allocations: 15.88 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1026, allocations: 65.64 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1026, allocations: 8 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1026, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1026, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.1027, allocations: 39.97 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1031, allocations: 304.8 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1033, allocations: 78.61 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.1034, allocations: 36.84 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1034, allocations: 0 / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1035, allocations: 79.44 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.394e-06/0.1036, allocations: 3.984 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005597/0.1041, allocations: 225 kB / 444.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1042, allocations: 55.41 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1043, allocations: 191.3 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1043, allocations: 25.7 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.1044, allocations: 104.1 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1044, allocations: 35.55 kB / 445 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.1045, allocations: 21.72 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1046, allocations: 326.8 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.1047, allocations: 23.98 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.1047, allocations: 53.69 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1049, allocations: 81.64 kB / 445.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1049, allocations: 3.938 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002021/0.1051, allocations: 121.6 kB / 445.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1051, allocations: 11.98 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1051, allocations: 0 / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.1052, allocations: 0 / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.1052, allocations: 20.03 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1053, allocations: 3.938 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1053, allocations: 15.98 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1053, allocations: 4 kB / 445.7 MB, free: 8.715 MB / 382.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 (12): * Single equations (assignments): 12 * 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.0001028/0.1054, allocations: 129.7 kB / 445.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1055, allocations: 19.8 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.1055, allocations: 13.41 kB / 445.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1055, allocations: 0 / 445.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1055, allocations: 7.938 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1055, allocations: 4 kB / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.106, allocations: 427.3 kB / 446.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.106, allocations: 0 / 446.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.106, allocations: 19.92 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1061, allocations: 3.938 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1061, allocations: 4 kB / 446.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1061, allocations: 480 / 446.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1061, allocations: 0 / 446.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1063, allocations: 232.2 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.1064, allocations: 92.95 kB / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1064, allocations: 0 / 446.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1065, allocations: 4 kB / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1065, allocations: 11.98 kB / 446.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1065, allocations: 4 kB / 446.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.1067, allocations: 149.1 kB / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1069, allocations: 24 kB / 446.8 MB, free: 7.484 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: 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 (10): * Single equations (assignments): 8 * 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.001378/0.1083, allocations: 1.121 MB / 447.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1085, allocations: 83.84 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1085, allocations: 0 / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.204e-05/0.1086, allocations: 44.09 kB / 448.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1089, allocations: 35.72 kB / 448.1 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1106, allocations: 1.765 MB / 449.9 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1108, allocations: 0.7126 MB / 450.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.278e-05/0.1109, allocations: 21.06 kB / 450.6 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.111, allocations: 39.42 kB / 450.6 MB, free: 3.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.111, allocations: 4 kB / 450.6 MB, free: 3.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.1233, allocations: 3.383 MB / 454 MB, free: 160 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1662/0.2895, allocations: 238.3 kB / 454.3 MB, free: 51.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.88, allocations: 0 / 454.3 MB, free: 51.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches