Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.0009643/0.0009646, allocations: 103 kB / 16.02 MB, free: 76 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.0009628/0.0009629, allocations: 185.7 kB / 16.92 MB, free: 6.918 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.643/1.643, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.3867/0.3867, allocations: 43.58 MB / 315 MB, free: 8.668 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.0006343/0.0006344, allocations: 20 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1188, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002145/0.121, allocations: 1.565 MB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1224, allocations: 0.8587 MB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1225, allocations: 4 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.123, allocations: 251.5 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.1234, allocations: 167.5 kB / 446.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.1238, allocations: 131.8 kB / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.1241, allocations: 239.3 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1242, allocations: 21.53 kB / 446.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1244, allocations: 111.6 kB / 446.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1246, allocations: 175.4 kB / 447 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1246, allocations: 4 kB / 447.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1248, allocations: 43.98 kB / 447.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.1249, allocations: 63.75 kB / 447.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.125, allocations: 109 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1252, allocations: 215.4 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1252, allocations: 0 / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1252, allocations: 0 / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1253, allocations: 0 / 447.5 MB, free: 8.637 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006775/0.1259, allocations: 0.5253 MB / 448 MB, free: 8.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.126, allocations: 15.97 kB / 448 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.126, allocations: 42.69 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.1261, allocations: 28.56 kB / 448.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1264, allocations: 288 kB / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1264, allocations: 384 / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1265, allocations: 7.938 kB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1267, allocations: 99.36 kB / 448.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1267, allocations: 3.938 kB / 448.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1268, allocations: 4 kB / 448.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1268, allocations: 11.98 kB / 448.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1269, allocations: 31.98 kB / 448.5 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1274, allocations: 453 kB / 449 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1277, allocations: 117.3 kB / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.1278, allocations: 45.64 kB / 449.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1278, allocations: 0 / 449.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.128, allocations: 113.1 kB / 449.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.1281, allocations: 7.938 kB / 449.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008493/0.1289, allocations: 375.6 kB / 449.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.129, allocations: 85.05 kB / 449.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.1294, allocations: 477.7 kB / 450.2 MB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1295, allocations: 33.7 kB / 450.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1296, allocations: 164.4 kB / 450.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1296, allocations: 47.36 kB / 450.4 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1297, allocations: 21.72 kB / 450.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1298, allocations: 342.8 kB / 450.8 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1299, allocations: 39.98 kB / 450.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.13, allocations: 71.41 kB / 450.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1302, allocations: 123.5 kB / 451 MB, free: 4.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1303, allocations: 0 / 451 MB, free: 4.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003096/0.1306, allocations: 189.1 kB / 451.2 MB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1306, allocations: 4 kB / 451.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1306, allocations: 0 / 451.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1306, allocations: 8.062 kB / 451.2 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1308, allocations: 35.92 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1308, allocations: 11.92 kB / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.1309, allocations: 7.938 kB / 451.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1309, allocations: 8 kB / 451.2 MB, free: 4.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001385/0.1311, allocations: 165.8 kB / 451.4 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1311, allocations: 31.62 kB / 451.4 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.1312, allocations: 42.8 kB / 451.5 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1312, allocations: 8.688 kB / 451.5 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1312, allocations: 3.938 kB / 451.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1312, allocations: 4 kB / 451.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.1319, allocations: 0.6241 MB / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1319, allocations: 0 / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.132, allocations: 31.92 kB / 452.1 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.132, allocations: 4.062 kB / 452.2 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.132, allocations: 4 kB / 452.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.132, allocations: 0 / 452.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.132, allocations: 4 kB / 452.2 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.1324, allocations: 367.9 kB / 452.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.1325, allocations: 108.7 kB / 452.6 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1325, allocations: 11.94 kB / 452.6 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1327, allocations: 7.984 kB / 452.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1327, allocations: 15.92 kB / 452.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1327, allocations: 8 kB / 452.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.1331, allocations: 359.1 kB / 453 MB, free: 2.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 4 kB / 453 MB, free: 2.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.1334, allocations: 40 kB / 453.1 MB, free: 2.637 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001603/0.135, allocations: 1.271 MB / 454.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1353, allocations: 115.9 kB / 454.4 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1353, allocations: 0 / 454.4 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1354, allocations: 64.03 kB / 454.5 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.136, allocations: 61.27 kB / 454.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1993/0.3353, allocations: 2.805 MB / 457.4 MB, free: 44.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3356, allocations: 0.7702 MB / 458.1 MB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.3357, allocations: 35.84 kB / 458.2 MB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3358, allocations: 86.97 kB / 458.3 MB, free: 43.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3358, allocations: 0 / 458.3 MB, free: 43.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.3514, allocations: 5.389 MB / 463.7 MB, free: 43.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.3516, allocations: 247.7 kB / 463.9 MB, free: 43.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.104, allocations: 0 / 463.9 MB, free: 43.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches