Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.005273/0.005273, allocations: 100 kB / 15.87 MB, free: 6.309 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.00107/0.00107, allocations: 196.1 kB / 16.79 MB, free: 6.238 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.489/1.489, 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.3695/0.3695, 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.001553/0.001553, allocations: 67.91 kB / 382.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 57.79 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004003/0.1209, allocations: 1.749 MB / 441.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1225, allocations: 0.7962 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1226, allocations: 0 / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.123, allocations: 83.81 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1233, allocations: 67.8 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1236, allocations: 79.84 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1238, allocations: 99.73 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1239, allocations: 24.16 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.124, allocations: 43.78 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1241, allocations: 67.73 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1241, allocations: 0 / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1243, allocations: 35.98 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.1243, allocations: 27.91 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.1244, allocations: 35.69 kB / 443 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1246, allocations: 119.8 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1246, allocations: 0 / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1246, allocations: 8 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1246, allocations: 3.938 kB / 443.2 MB, free: 11.25 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.0005661/0.1252, allocations: 418.9 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1253, allocations: 8.031 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1253, allocations: 38.72 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1254, allocations: 12.84 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1256, allocations: 223.9 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1256, allocations: 384 / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1257, allocations: 11.94 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1258, allocations: 61.61 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1258, allocations: 0 / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1259, allocations: 0 / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1259, allocations: 0 / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.126, allocations: 19.98 kB / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1264, allocations: 288.9 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1266, allocations: 62.61 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.1266, allocations: 16.86 kB / 444.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1267, allocations: 0 / 444.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1269, allocations: 67.38 kB / 444.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1269, allocations: 4 kB / 444.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00059/0.1275, allocations: 181.1 kB / 444.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1276, allocations: 51.41 kB / 444.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1278, allocations: 226.5 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1278, allocations: 29.7 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1279, allocations: 108.1 kB / 444.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1279, allocations: 27.64 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.128, allocations: 25.72 kB / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1281, allocations: 322.8 kB / 445.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.1282, allocations: 27.98 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.1282, allocations: 37.64 kB / 445.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1284, allocations: 53.78 kB / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1284, allocations: 0 / 445.4 MB, free: 8.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1286, allocations: 109.4 kB / 445.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1286, allocations: 4 kB / 445.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1286, allocations: 4.219 kB / 445.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1286, allocations: 4 kB / 445.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.1287, allocations: 19.92 kB / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1287, allocations: 0 / 445.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.1288, allocations: 7.938 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1288, allocations: 4 kB / 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.0001111/0.1289, allocations: 133.8 kB / 445.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1289, allocations: 7.906 kB / 445.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.129, allocations: 25.39 kB / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.129, allocations: 0 / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.129, allocations: 384 / 445.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.129, allocations: 3.938 kB / 445.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1295, allocations: 399.2 kB / 446.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1295, allocations: 4 kB / 446.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.1295, allocations: 8 kB / 446.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1295, allocations: 7.938 kB / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1295, allocations: 8.016 kB / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1296, allocations: 0 / 446.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1296, allocations: 4 kB / 446.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1298, allocations: 204.2 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.1298, allocations: 88.92 kB / 446.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1299, allocations: 3.938 kB / 446.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.13, allocations: 7.984 kB / 446.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.13, allocations: 7.984 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.13, allocations: 11.94 kB / 446.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1301, allocations: 172.3 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1304, allocations: 20 kB / 446.7 MB, free: 7.379 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.001396/0.1318, allocations: 1.106 MB / 447.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.132, allocations: 55.98 kB / 447.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.132, allocations: 0 / 447.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.1321, allocations: 31.92 kB / 447.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1324, allocations: 23.92 kB / 447.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1342, allocations: 1.741 MB / 449.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1345, allocations: 0.7121 MB / 450.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.1345, allocations: 21.17 kB / 450.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1346, allocations: 35.42 kB / 450.4 MB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1346, allocations: 0 / 450.4 MB, free: 3.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.1481, allocations: 3.286 MB / 453.7 MB, free: 248 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2081/0.3561, allocations: 232.5 kB / 453.9 MB, free: 51.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.123, allocations: 0 / 453.9 MB, free: 51.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches