Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008352/0.0008351, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000955/0.0009551, allocations: 205.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.17 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.55 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002448/0.1204, allocations: 1.45 MB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.1231, allocations: 1.577 MB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1233, allocations: 4 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1236, allocations: 27.86 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.124, allocations: 79.73 kB / 486.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1242, allocations: 67.81 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1245, allocations: 95.69 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1246, allocations: 19.98 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1247, allocations: 39.78 kB / 486.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.125, allocations: 47.7 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.125, allocations: 4 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.1253, allocations: 95.94 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1254, allocations: 23.86 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.1255, allocations: 61.48 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1258, allocations: 163.8 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1258, allocations: 8 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1258, allocations: 0 / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1258, allocations: 0 / 486.9 MB, free: 256 kB / 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.0006132/0.1265, allocations: 407.2 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1265, allocations: 8.875 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.1266, allocations: 38.73 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1266, allocations: 8.844 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1269, allocations: 216.3 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1269, allocations: 4 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1269, allocations: 0 / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1271, allocations: 71.39 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1271, allocations: 0 / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1271, allocations: 0 / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1272, allocations: 4 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.1272, allocations: 19.92 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.1276, allocations: 288.9 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1278, allocations: 54.69 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.1279, allocations: 24.78 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1279, allocations: 4 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1281, allocations: 75.31 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1281, allocations: 0 / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005574/0.1287, allocations: 173.1 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1287, allocations: 85.05 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.129, allocations: 162.5 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.129, allocations: 25.7 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.1291, allocations: 100.1 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1291, allocations: 23.66 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1291, allocations: 21.7 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1292, allocations: 322.8 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1293, allocations: 16 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.1294, allocations: 42.56 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1295, allocations: 69.64 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1295, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.1297, allocations: 101.6 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1297, allocations: 4 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1297, allocations: 3.984 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1298, allocations: 3.984 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.1299, allocations: 27.88 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1299, allocations: 384 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.1299, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1299, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.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.941e-05/0.13, allocations: 132 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1301, allocations: 15.81 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.1301, allocations: 12.72 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1301, allocations: 7.938 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1301, allocations: 3.984 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1302, allocations: 0 / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.1306, allocations: 391.3 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1306, allocations: 3.969 kB / 489.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1307, allocations: 12 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1307, allocations: 0 / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1307, allocations: 7.938 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1307, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1307, allocations: 192 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.1309, allocations: 200.3 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.131, allocations: 104.8 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.131, allocations: 7.984 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1311, allocations: 0 / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1312, allocations: 4 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1312, allocations: 11.98 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1313, allocations: 122.5 kB / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1313, allocations: 0 / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.1316, allocations: 47.98 kB / 490.4 MB, free: 12.46 MB / 366.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.00183/0.1335, allocations: 1.178 MB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1337, allocations: 59.92 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1337, allocations: 4 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.1338, allocations: 31.92 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1341, allocations: 23.97 kB / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.1358, allocations: 1.604 MB / 493.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1361, allocations: 0.6937 MB / 493.9 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.1362, allocations: 28.8 kB / 494 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.1363, allocations: 35.41 kB / 494 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1363, allocations: 0 / 494 MB, free: 8.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1513, allocations: 3.563 MB / 497.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.1516, allocations: 240.7 kB / 497.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.049, allocations: 0 / 497.8 MB, free: 5.164 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches