Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.0008044/0.0008042, allocations: 94.19 kB / 17.35 MB, free: 6.371 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.0008896/0.0008897, allocations: 180 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1878/0.1878, allocations: 44.25 MB / 337.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 12 kB / 410.4 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 61.92 MB / 472.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002028/0.1191, allocations: 1.417 MB / 473.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1204, allocations: 0.846 MB / 474.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1205, allocations: 0 / 474.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1208, allocations: 35.89 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.1209, allocations: 47.77 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1212, allocations: 98.56 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1214, allocations: 95.69 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.1215, allocations: 12.23 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.1216, allocations: 35.8 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.1216, allocations: 27.78 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1217, allocations: 4 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.858e-05/0.1218, allocations: 39.98 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.1218, allocations: 23.92 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.1219, allocations: 65.42 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1221, allocations: 107.9 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1221, allocations: 0 / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1221, allocations: 0 / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1221, allocations: 0 / 475.2 MB, free: 10.31 MB / 350.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.000505/0.1226, allocations: 407 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1227, allocations: 8.031 kB / 475.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.1227, allocations: 38.69 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1228, allocations: 16.78 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.123, allocations: 208.8 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.123, allocations: 384 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.123, allocations: 7.938 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1232, allocations: 53.67 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1232, allocations: 0 / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1232, allocations: 3.984 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1232, allocations: 0 / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.1233, allocations: 23.92 kB / 475.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.1237, allocations: 292.8 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1238, allocations: 62.67 kB / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.1239, allocations: 20.84 kB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1239, allocations: 4 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1241, allocations: 71.33 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1241, allocations: 0 / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005111/0.1246, allocations: 173.1 kB / 476.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1247, allocations: 59.41 kB / 476.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1249, allocations: 199.3 kB / 476.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1249, allocations: 25.7 kB / 476.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.1249, allocations: 104.1 kB / 476.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.125, allocations: 27.7 kB / 477 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.125, allocations: 13.72 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1251, allocations: 322.8 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.1252, allocations: 23.98 kB / 477.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.1253, allocations: 33.7 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1254, allocations: 61.64 kB / 477.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1254, allocations: 4 kB / 477.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.1256, allocations: 97.58 kB / 477.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1256, allocations: 7.938 kB / 477.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1256, allocations: 4 kB / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1256, allocations: 0 / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1257, allocations: 15.98 kB / 477.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1257, allocations: 160 / 477.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.1258, allocations: 11.88 kB / 477.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1258, allocations: 7.984 kB / 477.6 MB, free: 7.699 MB / 350.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.419e-05/0.1259, allocations: 133.8 kB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1259, allocations: 16.38 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.126, allocations: 17.39 kB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.126, allocations: 3.938 kB / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.126, allocations: 0 / 477.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.126, allocations: 11.94 kB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.1264, allocations: 387.3 kB / 478.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1264, allocations: 4.031 kB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.1265, allocations: 11.94 kB / 478.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1265, allocations: 7.938 kB / 478.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1265, allocations: 3.984 kB / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1265, allocations: 0 / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1265, allocations: 4 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1267, allocations: 200.2 kB / 478.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.1268, allocations: 85.02 kB / 478.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1268, allocations: 11.94 kB / 478.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1269, allocations: 7.984 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.1269, allocations: 0 / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1269, allocations: 4 kB / 478.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1271, allocations: 156.8 kB / 478.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 478.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1273, allocations: 23.98 kB / 478.6 MB, free: 6.527 MB / 350.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.001384/0.1287, allocations: 1.092 MB / 479.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1289, allocations: 67.89 kB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1289, allocations: 0 / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.129, allocations: 27.92 kB / 479.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1293, allocations: 28.23 kB / 479.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1309, allocations: 1.678 MB / 481.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1312, allocations: 0.7083 MB / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.1313, allocations: 16.86 kB / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.1313, allocations: 35.42 kB / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1313, allocations: 0 / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.1445, allocations: 3.011 MB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.1448, allocations: 230.3 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/1.919, allocations: 4 kB / 485.5 MB, free: 15.78 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches