Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 46.11 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 73.95 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003567/0.1228, allocations: 1.742 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1246, allocations: 1.037 MB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1247, allocations: 0 / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1251, allocations: 87.7 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1255, allocations: 119.5 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1257, allocations: 79.67 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.126, allocations: 131.7 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1261, allocations: 15.98 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1262, allocations: 59.7 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1263, allocations: 59.81 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1264, allocations: 4 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1265, allocations: 59.97 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.1266, allocations: 31.8 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.1267, allocations: 47.73 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1269, allocations: 135.8 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1269, allocations: 0 / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1269, allocations: 0 / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.127, allocations: 4 kB / 483.7 MB, free: 1.574 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005104/0.1275, allocations: 434.8 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1275, allocations: 12.03 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1276, allocations: 34.73 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.1276, allocations: 16.84 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1278, allocations: 229.5 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1278, allocations: 4.375 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1279, allocations: 3.938 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.128, allocations: 57.67 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.128, allocations: 0 / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1281, allocations: 4 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1281, allocations: 0 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.1281, allocations: 27.97 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1285, allocations: 308.7 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.1288, allocations: 62.55 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.1288, allocations: 16.98 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1288, allocations: 0 / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.129, allocations: 83.38 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1291, allocations: 0 / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007559/0.1298, allocations: 249.3 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1299, allocations: 55.34 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1301, allocations: 230.2 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1301, allocations: 41.62 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.1302, allocations: 104.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1302, allocations: 35.55 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1302, allocations: 37.7 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1303, allocations: 322.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.1304, allocations: 31.98 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.1305, allocations: 45.7 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.1307, allocations: 85.69 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1307, allocations: 4 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002126/0.1309, allocations: 125.4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1309, allocations: 7.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1309, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1309, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.131, allocations: 23.92 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.131, allocations: 0 / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1311, allocations: 8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1311, allocations: 4 kB / 486.4 MB, free: 14.67 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 (13): * Single equations (assignments): 13 * 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.0001038/0.1312, allocations: 133.9 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1313, allocations: 15.81 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.1313, allocations: 21.41 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1313, allocations: 11.86 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1313, allocations: 4 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1313, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1318, allocations: 456 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1318, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.1319, allocations: 15.94 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1319, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1319, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1319, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1319, allocations: 7.984 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1322, allocations: 237 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1322, allocations: 88.92 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1323, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1323, allocations: 3.984 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.1324, allocations: 4.094 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1324, allocations: 15.92 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1325, allocations: 176.4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1325, allocations: 0 / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1328, allocations: 31.98 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001521/0.1344, allocations: 1.165 MB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1346, allocations: 87.84 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1346, allocations: 3.938 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.1347, allocations: 39.92 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1351, allocations: 27.73 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.137, allocations: 1.847 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1373, allocations: 0.7156 MB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.1373, allocations: 16.64 kB / 491.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.1374, allocations: 43.42 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1374, allocations: 4 kB / 491.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.1607, allocations: 3.862 MB / 495.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.646, allocations: 10.88 kB / 495.4 MB, free: 5.648 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches