Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.004288/0.004288, allocations: 101.1 kB / 15.87 MB, free: 6.316 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.0009813/0.0009813, allocations: 192.2 kB / 16.79 MB, free: 6.242 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.555/1.555, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.4084/0.4084, allocations: 43.5 MB / 313.5 MB, free: 8.523 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.001377/0.001377, allocations: 66.98 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002817/0.1293, allocations: 1.757 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1304, allocations: 0.7962 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.961e-05/0.1305, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1308, allocations: 43.89 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1309, allocations: 43.77 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1311, allocations: 83.84 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.1313, allocations: 87.7 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.1314, allocations: 20.19 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.1314, allocations: 35.86 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.1315, allocations: 27.8 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1315, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.1316, allocations: 43.97 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1317, allocations: 19.92 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.1317, allocations: 31.73 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1319, allocations: 103.9 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1319, allocations: 4 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1319, allocations: 4 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1319, allocations: 0 / 443 MB, free: 11.61 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.0004562/0.1324, allocations: 414.9 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1324, allocations: 8.031 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.1325, allocations: 38.73 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1325, allocations: 12.84 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1327, allocations: 204 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1327, allocations: 8.312 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1327, allocations: 7.938 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1329, allocations: 49.67 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1329, allocations: 3.984 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1329, allocations: 12 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1329, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.133, allocations: 15.98 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1333, allocations: 292.7 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1335, allocations: 54.62 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.1336, allocations: 28.84 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1336, allocations: 0 / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1337, allocations: 59.39 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1338, allocations: 4 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004876/0.1342, allocations: 177.2 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1343, allocations: 51.41 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1345, allocations: 194.1 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1345, allocations: 29.7 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.1345, allocations: 96.14 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1346, allocations: 27.69 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1346, allocations: 21.72 kB / 444.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1347, allocations: 322.8 kB / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.1348, allocations: 27.86 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.1349, allocations: 37.7 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.135, allocations: 61.7 kB / 445.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.135, allocations: 0 / 445.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000166/0.1352, allocations: 97.53 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1352, allocations: 8 kB / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1352, allocations: 0 / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1352, allocations: 0 / 445.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.1353, allocations: 20.02 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1353, allocations: 4 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1354, allocations: 3.938 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1354, allocations: 4 kB / 445.4 MB, free: 9.016 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 9.45e-05/0.1355, allocations: 133.8 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1355, allocations: 11.81 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.1355, allocations: 16.72 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1355, allocations: 0 / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1356, allocations: 0 / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1356, allocations: 11.92 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.136, allocations: 395.5 kB / 445.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.136, allocations: 0 / 445.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.136, allocations: 8 kB / 445.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.136, allocations: 3.938 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.136, allocations: 192 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.136, allocations: 4 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.136, allocations: 3.938 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1362, allocations: 212.2 kB / 446.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1363, allocations: 85.02 kB / 446.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1363, allocations: 3.938 kB / 446.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.1364, allocations: 384 / 446.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1364, allocations: 11.98 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1364, allocations: 8 kB / 446.3 MB, free: 8.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1366, allocations: 152 kB / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 0 / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1368, allocations: 27.91 kB / 446.4 MB, free: 7.848 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.001299/0.1381, allocations: 1.098 MB / 447.5 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1383, allocations: 55.97 kB / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1383, allocations: 3.938 kB / 447.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1384, allocations: 28.11 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1387, allocations: 27.98 kB / 447.6 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1402, allocations: 1.653 MB / 449.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1405, allocations: 0.7004 MB / 450 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.1405, allocations: 16.86 kB / 450 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1406, allocations: 39.36 kB / 450 MB, free: 4.125 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1406, allocations: 0 / 450 MB, free: 4.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.1539, allocations: 3.113 MB / 453.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.1541, allocations: 234.4 kB / 453.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.895, allocations: 0 / 453.4 MB, free: 0.7305 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches