Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001065/0.001065, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001006/0.001006, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.176/0.176, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.34 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1009, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003158/0.1041, allocations: 1.749 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.106, allocations: 1.452 MB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.1061, allocations: 4 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1064, allocations: 39.83 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1066, allocations: 43.84 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1069, allocations: 95.7 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1071, allocations: 95.69 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1072, allocations: 16.2 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.1072, allocations: 35.8 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1074, allocations: 43.83 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1074, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1076, allocations: 59.97 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1076, allocations: 15.86 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.1077, allocations: 31.8 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1079, allocations: 119.9 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1079, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1079, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1079, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.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.0005175/0.1084, allocations: 395.2 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1085, allocations: 12.03 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1085, allocations: 30.75 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1086, allocations: 8.844 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1088, allocations: 216 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1088, allocations: 384 / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1088, allocations: 3.938 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.109, allocations: 71.39 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.109, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.109, allocations: 3.938 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1091, allocations: 4 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1091, allocations: 19.98 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.1094, allocations: 280.8 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1096, allocations: 62.67 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1097, allocations: 20.84 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1097, allocations: 0 / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1099, allocations: 71.33 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1099, allocations: 0 / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004761/0.1104, allocations: 189.1 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1104, allocations: 85.05 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1105, allocations: 152.2 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1106, allocations: 25.7 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1106, allocations: 96.12 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1106, allocations: 27.64 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1107, allocations: 29.7 kB / 474.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.1108, allocations: 322.8 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.1108, allocations: 16 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.1109, allocations: 46.56 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.111, allocations: 57.64 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.111, allocations: 0 / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.1112, allocations: 101.6 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1112, allocations: 8.062 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1112, allocations: 0 / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1113, allocations: 0 / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.1113, allocations: 19.94 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1113, allocations: 0 / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1114, allocations: 7.922 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1114, allocations: 4 kB / 474.8 MB, free: 8.312 MB / 350.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 9.258e-05/0.1115, allocations: 124.5 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1115, allocations: 7.906 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.1116, allocations: 20.7 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1116, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1116, allocations: 0 / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1116, allocations: 7.922 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.112, allocations: 383.3 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.112, allocations: 3.938 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.1121, allocations: 15.98 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.1121, allocations: 11.97 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1121, allocations: 0 / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1121, allocations: 0 / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1121, allocations: 3.938 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1123, allocations: 200.2 kB / 475.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1124, allocations: 89.02 kB / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1124, allocations: 3.938 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1125, allocations: 12.55 kB / 475.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1125, allocations: 4 kB / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1125, allocations: 11.94 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.1126, allocations: 115.2 kB / 475.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1126, allocations: 0 / 475.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1129, allocations: 31.98 kB / 475.8 MB, free: 7.18 MB / 350.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.001361/0.1143, allocations: 1.131 MB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.1144, allocations: 59.91 kB / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1145, allocations: 0 / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.1145, allocations: 27.98 kB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1148, allocations: 23.98 kB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1163, allocations: 1.56 MB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1166, allocations: 0.7005 MB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.1166, allocations: 21.33 kB / 479.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.1167, allocations: 31.36 kB / 479.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1167, allocations: 0 / 479.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.213, allocations: 3.308 MB / 482.7 MB, free: 500 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/2.213, allocations: 246.8 kB / 482.9 MB, free: 232 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/3.978, allocations: 0 / 482.9 MB, free: 232 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches