Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, 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.00164/0.00164, 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.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 85.23 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 62.43 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003712/0.1354, allocations: 1.946 MB / 482.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1372, allocations: 1.056 MB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1374, allocations: 4 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1377, allocations: 43.7 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1381, allocations: 95.48 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1383, allocations: 103.6 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1385, allocations: 139.6 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1387, allocations: 33.53 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.1388, allocations: 55.72 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1389, allocations: 47.72 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1389, allocations: 8 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1391, allocations: 55.91 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.1391, allocations: 23.92 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.1392, allocations: 47.67 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1395, allocations: 155.7 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1395, allocations: 4 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1395, allocations: 0 / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1395, allocations: 0 / 483.9 MB, free: 1.387 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006644/0.1402, allocations: 480.5 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1402, allocations: 8.031 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.1403, allocations: 42.69 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1403, allocations: 20.73 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1406, allocations: 229.5 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1406, allocations: 12.38 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1407, allocations: 7.938 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1409, allocations: 112.2 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1409, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1409, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.141, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1411, allocations: 55.95 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.1417, allocations: 0.5087 MB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.1421, allocations: 90.59 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.1422, allocations: 36.84 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1422, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.1424, allocations: 83.38 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1425, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004082/0.1429, allocations: 153.3 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1429, allocations: 55.41 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1431, allocations: 202.2 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1432, allocations: 25.7 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.1433, allocations: 120 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1433, allocations: 31.59 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1433, allocations: 29.66 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1435, allocations: 334.8 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.1436, allocations: 23.98 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.1437, allocations: 63.78 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1439, allocations: 100.2 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1439, allocations: 0 / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002709/0.1442, allocations: 137.3 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1442, allocations: 4 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1442, allocations: 4.125 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1442, allocations: 7.938 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.1443, allocations: 27.92 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1443, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.1444, allocations: 16.39 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1444, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001202/0.1446, allocations: 136.4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1446, allocations: 11.81 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1446, allocations: 21.39 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1447, allocations: 15.81 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1447, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1447, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1449, allocations: 209.5 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1449, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.145, allocations: 15.98 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.145, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.145, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.145, allocations: 3.938 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.145, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1454, allocations: 184.8 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1455, allocations: 88.98 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1455, allocations: 0 / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.1456, allocations: 11.94 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1456, allocations: 7.984 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1456, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1458, allocations: 148.5 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.146, allocations: 27.98 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001473/0.1475, allocations: 1.015 MB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1478, allocations: 87.89 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1478, allocations: 0 / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.1479, allocations: 35.92 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1482, allocations: 42.09 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1503, allocations: 1.729 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1507, allocations: 0.7238 MB / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.737e-05/0.1508, allocations: 21.41 kB / 491.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.1509, allocations: 47.41 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1509, allocations: 0 / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.1786, allocations: 3.734 MB / 495.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.727, allocations: 7.922 kB / 495.2 MB, free: 5.766 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches