Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001002/0.001002, allocations: 96.94 kB / 16.02 MB, free: 84 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.00134/0.00134, allocations: 174.5 kB / 16.91 MB, free: 6.648 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.466/1.466, allocations: 205.4 MB / 223.1 MB, free: 5.457 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.3655/0.3655, allocations: 43.57 MB / 315 MB, free: 8.848 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.0007323/0.0007324, allocations: 18.66 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1168, allocations: 58.86 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002261/0.1191, allocations: 1.41 MB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1206, allocations: 0.7807 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.1207, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.121, allocations: 35.89 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1213, allocations: 43.83 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1216, allocations: 83.83 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1217, allocations: 91.7 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1219, allocations: 20.14 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.122, allocations: 43.78 kB / 446.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.1221, allocations: 23.86 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1221, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1222, allocations: 43.97 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1223, allocations: 19.92 kB / 446.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.1224, allocations: 61.39 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1226, allocations: 111.9 kB / 446.3 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1226, allocations: 4 kB / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1226, allocations: 0 / 446.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1226, allocations: 0 / 446.3 MB, free: 9.777 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.0005244/0.1232, allocations: 403 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1232, allocations: 8.031 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1232, allocations: 34.75 kB / 446.8 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1233, allocations: 8.844 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1235, allocations: 216.7 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1236, allocations: 4.375 kB / 447 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1236, allocations: 11.88 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1238, allocations: 53.67 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1238, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1238, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1238, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.1239, allocations: 19.98 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1243, allocations: 280.9 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1245, allocations: 66.61 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1246, allocations: 16.86 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1246, allocations: 4 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.1248, allocations: 67.38 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 4.168e-06/0.1248, allocations: 4 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.1254, allocations: 173.2 kB / 447.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1255, allocations: 55.41 kB / 447.7 MB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1257, allocations: 199.3 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1257, allocations: 25.7 kB / 447.9 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.1258, allocations: 112.1 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1259, allocations: 27.64 kB / 448.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1259, allocations: 17.66 kB / 448.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1261, allocations: 326.8 kB / 448.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.1261, allocations: 23.92 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.1262, allocations: 33.7 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1263, allocations: 61.66 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1263, allocations: 0 / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.1266, allocations: 105.4 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1266, allocations: 8.031 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1266, allocations: 4 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1266, allocations: 0 / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.1267, allocations: 15.98 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1267, allocations: 0 / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.1268, allocations: 7.938 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1268, allocations: 4 kB / 448.7 MB, free: 7.184 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.0001288/0.127, allocations: 133.8 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.127, allocations: 11.91 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.127, allocations: 17.41 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1271, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1271, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.1271, allocations: 11.92 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1276, allocations: 391.2 kB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1276, allocations: 0 / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1277, allocations: 8 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.1277, allocations: 7.938 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1277, allocations: 4.031 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1277, allocations: 0 / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1277, allocations: 0 / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.128, allocations: 216.4 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.1281, allocations: 84.92 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1281, allocations: 11.94 kB / 449.5 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.1282, allocations: 8 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1282, allocations: 3.984 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1282, allocations: 4 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1284, allocations: 156.9 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1287, allocations: 24 kB / 449.7 MB, free: 6.008 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.001548/0.1302, allocations: 1.102 MB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1304, allocations: 59.98 kB / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1304, allocations: 0 / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.1305, allocations: 27.92 kB / 450.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1309, allocations: 27.97 kB / 451 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1328, allocations: 1.697 MB / 452.7 MB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1331, allocations: 0.7082 MB / 453.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.344e-05/0.1332, allocations: 17.19 kB / 453.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.1332, allocations: 39.41 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1333, allocations: 0 / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2258/0.359, allocations: 2.973 MB / 456.4 MB, free: 44.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.3592, allocations: 238.8 kB / 456.6 MB, free: 44.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.241, allocations: 0 / 456.6 MB, free: 44.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches