Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001176/0.001176, 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.001278/0.001278, allocations: 202.4 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.513/1.513, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3755/0.3755, allocations: 43.5 MB / 313.5 MB, free: 8.25 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.001238/0.001238, allocations: 74.55 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002955/0.1137, allocations: 1.752 MB / 441.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.115, allocations: 0.8079 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.1151, allocations: 0 / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1153, allocations: 43.88 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1155, allocations: 51.77 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1157, allocations: 87.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1159, allocations: 91.7 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.116, allocations: 16.2 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1161, allocations: 43.78 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.1161, allocations: 27.86 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1162, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.1162, allocations: 47.97 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.1163, allocations: 39.78 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1164, allocations: 35.69 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1165, allocations: 123.8 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1165, allocations: 0 / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1166, allocations: 0 / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1166, allocations: 0 / 443.1 MB, free: 11.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004808/0.117, allocations: 442.7 kB / 443.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1171, allocations: 12.03 kB / 443.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1171, allocations: 34.75 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.1172, allocations: 24.83 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1174, allocations: 211.7 kB / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1174, allocations: 384 / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1174, allocations: 19.83 kB / 443.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1176, allocations: 49.67 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1176, allocations: 0 / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1176, allocations: 4 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1176, allocations: 0 / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.688e-05/0.1177, allocations: 19.98 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.118, allocations: 304.8 kB / 444.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1182, allocations: 50.67 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.1182, allocations: 20.86 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1183, allocations: 3.984 kB / 444.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1185, allocations: 67.39 kB / 444.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.1185, allocations: 3.938 kB / 444.3 MB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005014/0.119, allocations: 181.1 kB / 444.5 MB, free: 9.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.119, allocations: 55.39 kB / 444.6 MB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1193, allocations: 258.7 kB / 444.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1193, allocations: 33.69 kB / 444.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.1194, allocations: 112 kB / 444.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1194, allocations: 23.73 kB / 445 MB, free: 9.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1195, allocations: 25.72 kB / 445 MB, free: 9.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1196, allocations: 330.8 kB / 445.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.1197, allocations: 20 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.1198, allocations: 37.7 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1199, allocations: 57.7 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1199, allocations: 4 kB / 445.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.1201, allocations: 109.4 kB / 445.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1201, allocations: 4 kB / 445.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1201, allocations: 0 / 445.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1201, allocations: 4 kB / 445.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1202, allocations: 15.94 kB / 445.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1202, allocations: 0 / 445.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1203, allocations: 16.3 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.1203, allocations: 0 / 445.6 MB, free: 8.578 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 (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 0.0001073/0.1204, allocations: 141.8 kB / 445.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1205, allocations: 15.81 kB / 445.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1205, allocations: 17.41 kB / 445.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1205, allocations: 4 kB / 445.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1205, allocations: 3.984 kB / 445.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1205, allocations: 7.922 kB / 445.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.121, allocations: 399.2 kB / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.121, allocations: 4.031 kB / 446.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.449e-05/0.121, allocations: 15.98 kB / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1211, allocations: 7.938 kB / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1211, allocations: 0 / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1211, allocations: 0 / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1211, allocations: 0 / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1213, allocations: 204.5 kB / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.1214, allocations: 96.92 kB / 446.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1214, allocations: 11.86 kB / 446.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.1215, allocations: 4 kB / 446.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1216, allocations: 4 kB / 446.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1216, allocations: 7.984 kB / 446.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1218, allocations: 200 kB / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 0 / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.122, allocations: 24 kB / 446.7 MB, free: 7.328 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 (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.001446/0.1235, allocations: 1.102 MB / 447.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1236, allocations: 59.91 kB / 447.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1237, allocations: 0 / 447.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.1237, allocations: 27.98 kB / 447.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1241, allocations: 27.78 kB / 447.9 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1259, allocations: 1.842 MB / 449.8 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1262, allocations: 0.716 MB / 450.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.1262, allocations: 13.19 kB / 450.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.1263, allocations: 47.41 kB / 450.6 MB, free: 3.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1263, allocations: 0 / 450.6 MB, free: 3.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/0.3012, allocations: 3.441 MB / 454 MB, free: 48.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3014, allocations: 231.8 kB / 454.2 MB, free: 48.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.97, allocations: 0 / 454.2 MB, free: 48.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches