Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, 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.001221/0.001221, 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.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 82.72 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003367/0.1387, allocations: 1.752 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1405, allocations: 1.023 MB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1406, allocations: 0 / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.141, allocations: 59.73 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1414, allocations: 103.5 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1416, allocations: 75.67 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.1419, allocations: 127.7 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.142, allocations: 15.98 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1421, allocations: 59.7 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1422, allocations: 43.84 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1422, allocations: 8 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.1424, allocations: 63.97 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.1425, allocations: 27.91 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.1426, allocations: 47.62 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1428, allocations: 143.8 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1428, allocations: 4 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1428, allocations: 0 / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1429, allocations: 0 / 483.7 MB, free: 1.652 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006262/0.1435, allocations: 438.9 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1435, allocations: 11.97 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.1436, allocations: 38.75 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1436, allocations: 12.75 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1441, allocations: 228 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1441, allocations: 384 / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1441, allocations: 11.94 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1443, allocations: 73.59 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1443, allocations: 7.984 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1444, allocations: 0 / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1444, allocations: 7.984 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1445, allocations: 43.91 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1449, allocations: 324.6 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1452, allocations: 78.53 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.1453, allocations: 32.84 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1453, allocations: 4 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.1456, allocations: 83.41 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1456, allocations: 0 / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008888/0.1465, allocations: 292.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1465, allocations: 59.34 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1467, allocations: 190.3 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1468, allocations: 38.53 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.1468, allocations: 108.3 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.505e-05/0.1469, allocations: 39.45 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1469, allocations: 29.7 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1471, allocations: 326.8 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.1472, allocations: 35.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.595e-05/0.1473, allocations: 57.69 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1475, allocations: 101.6 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1475, allocations: 3.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002824/0.1478, allocations: 153.4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1478, allocations: 6.5 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1478, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1478, allocations: 4 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.1479, allocations: 35.86 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1479, allocations: 32 / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.148, allocations: 12 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.148, allocations: 7.984 kB / 486.5 MB, free: 14.57 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 (15): * Single equations (assignments): 15 * 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.0001088/0.1481, allocations: 121.8 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1482, allocations: 15.81 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.1482, allocations: 25.52 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1482, allocations: 3.938 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1482, allocations: 0 / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1483, allocations: 3.938 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.1489, allocations: 496 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.149, allocations: 0 / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.149, allocations: 23.94 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.149, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1491, allocations: 7.984 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1491, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1491, allocations: 3.938 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.1494, allocations: 257 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1495, allocations: 88.92 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1496, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.1496, allocations: 7.984 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1497, allocations: 12 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1497, allocations: 7.984 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1499, allocations: 152.8 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1499, allocations: 0 / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1502, allocations: 32 kB / 487.7 MB, free: 13.22 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 (13): * Single equations (assignments): 11 * 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.001821/0.152, allocations: 1.199 MB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1523, allocations: 110.5 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1523, allocations: 0 / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1524, allocations: 51.92 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1528, allocations: 29.38 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.1556, allocations: 1.855 MB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1561, allocations: 0.7123 MB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1562, allocations: 33.39 kB / 491.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.1563, allocations: 43.42 kB / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1563, allocations: 0 / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1815, allocations: 3.968 MB / 495.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.298, allocations: 9.344 kB / 495.7 MB, free: 5.336 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches