Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008829/0.0008829, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 201.1 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.349/1.349, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1796/0.1796, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005098, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00179/0.1385, allocations: 1.446 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.14, allocations: 0.9863 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.1401, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1404, allocations: 83.77 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.1406, allocations: 99.7 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1408, allocations: 63.88 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1409, allocations: 111.6 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.141, allocations: 11.98 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.1411, allocations: 51.77 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.1412, allocations: 63.69 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1412, allocations: 0 / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.1413, allocations: 51.92 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1414, allocations: 15.92 kB / 486.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.1414, allocations: 61.44 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1416, allocations: 123.8 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1416, allocations: 4 kB / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1416, allocations: 0 / 486.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1416, allocations: 0 / 486.3 MB, free: 0.8633 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.000447/0.1421, allocations: 405.3 kB / 486.7 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1421, allocations: 8.875 kB / 486.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.1422, allocations: 38.73 kB / 486.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.1422, allocations: 16.75 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1424, allocations: 216.6 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1424, allocations: 384 / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1424, allocations: 11.88 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1426, allocations: 53.67 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1426, allocations: 0 / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.1426, allocations: 0 / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1426, allocations: 0 / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.1427, allocations: 23.98 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.143, allocations: 300.7 kB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1431, allocations: 54.67 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.1432, allocations: 16.86 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1432, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1434, allocations: 79.31 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1434, allocations: 0 / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004574/0.1439, allocations: 173.1 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1439, allocations: 55.34 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1441, allocations: 227.4 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1441, allocations: 25.7 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1442, allocations: 112.1 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1442, allocations: 27.64 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.1443, allocations: 13.72 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.1443, allocations: 322.8 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.1444, allocations: 23.98 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.1445, allocations: 37.64 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1446, allocations: 73.7 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1446, allocations: 0 / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001646/0.1448, allocations: 93.58 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1448, allocations: 8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1448, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.1448, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.1449, allocations: 19.92 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1449, allocations: 4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1449, allocations: 3.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.145, allocations: 12.03 kB / 488.7 MB, free: 14.21 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.435e-05/0.1451, allocations: 132.8 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.1451, allocations: 11.81 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1451, allocations: 21.41 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1451, allocations: 0 / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1452, allocations: 7.922 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1452, allocations: 3.938 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1455, allocations: 399.7 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1456, allocations: 0 / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.1456, allocations: 15.98 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1456, allocations: 3.938 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1456, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1456, allocations: 0 / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1456, allocations: 7.922 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1458, allocations: 204.2 kB / 489.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1459, allocations: 92.91 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1459, allocations: 11.94 kB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.146, allocations: 0 / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.146, allocations: 7.984 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1461, allocations: 4 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1462, allocations: 165.2 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1462, allocations: 0 / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1465, allocations: 27.98 kB / 489.8 MB, free: 13 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.001413/0.1479, allocations: 1.089 MB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1481, allocations: 63.91 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1481, allocations: 0 / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.1482, allocations: 24 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1485, allocations: 27.97 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1503, allocations: 1.727 MB / 492.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1506, allocations: 0.7118 MB / 493.5 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1506, allocations: 12.88 kB / 493.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.1507, allocations: 47.3 kB / 493.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1507, allocations: 0 / 493.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.801/1.951, allocations: 3.118 MB / 496.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/1.952, allocations: 235.4 kB / 496.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/4.037, allocations: 0 / 496.9 MB, free: 6.078 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches