Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 204 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002029/0.1143, allocations: 1.446 MB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1158, allocations: 0.994 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.1159, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.1162, allocations: 31.89 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1165, allocations: 75.69 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1168, allocations: 63.88 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.117, allocations: 95.69 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1171, allocations: 15.98 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1172, allocations: 43.73 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.1173, allocations: 31.84 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1173, allocations: 0 / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1174, allocations: 39.98 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.1175, allocations: 15.92 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.1176, allocations: 57.5 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1178, allocations: 111.8 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1178, allocations: 4 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1178, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1178, allocations: 4 kB / 486.2 MB, free: 1.012 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.0005368/0.1184, allocations: 391.1 kB / 486.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1184, allocations: 12.88 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.1185, allocations: 34.73 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.1185, allocations: 8.844 kB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1188, allocations: 204.2 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1188, allocations: 384 / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1188, allocations: 11.94 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.119, allocations: 57.61 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.119, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.119, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1191, allocations: 0 / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.1191, allocations: 19.98 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1196, allocations: 292.7 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1198, allocations: 70.61 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1199, allocations: 16.86 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1199, allocations: 3.984 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.1201, allocations: 67.39 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.1201, allocations: 0 / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000549/0.1207, allocations: 177.2 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1207, allocations: 51.41 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1209, allocations: 178.1 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1209, allocations: 25.7 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.121, allocations: 100.1 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.121, allocations: 31.58 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.1211, allocations: 13.72 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1212, allocations: 322.8 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.1213, allocations: 23.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.1213, allocations: 41.64 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1215, allocations: 57.78 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1215, allocations: 0 / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.1217, allocations: 101.5 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1217, allocations: 8 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1217, allocations: 4.031 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1217, allocations: 0 / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.1218, allocations: 16 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.1218, allocations: 7.984 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.1219, allocations: 3.938 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1219, allocations: 4 kB / 488.5 MB, free: 14.46 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 0.0001023/0.122, allocations: 124.6 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.122, allocations: 11.81 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.1221, allocations: 24.7 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1221, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1221, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1221, allocations: 3.938 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.1226, allocations: 383.3 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1226, allocations: 0 / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.1226, allocations: 11.98 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1226, allocations: 3.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1226, allocations: 12.22 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1227, allocations: 0 / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1227, allocations: 3.938 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1229, allocations: 196.2 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.1229, allocations: 96.91 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.123, allocations: 4.312 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1231, allocations: 8 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1231, allocations: 15.98 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1231, allocations: 4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1232, allocations: 123.2 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1232, allocations: 0 / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1235, allocations: 31.92 kB / 489.6 MB, free: 13.31 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.001409/0.1249, allocations: 1.079 MB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1251, allocations: 63.95 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1251, allocations: 0 / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.1252, allocations: 27.94 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1256, allocations: 27.97 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1273, allocations: 1.611 MB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1276, allocations: 0.7002 MB / 493.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.1277, allocations: 17.19 kB / 493.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.1277, allocations: 31.42 kB / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1277, allocations: 0 / 493.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1415, allocations: 2.909 MB / 496 MB, free: 6.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.1418, allocations: 232 kB / 496.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.956, allocations: 0 / 496.2 MB, free: 6.723 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches