Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 103.9 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2788/0.2788, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 74.91 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003408/0.1371, allocations: 1.752 MB / 481.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1387, allocations: 0.9901 MB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1388, allocations: 0 / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1392, allocations: 59.8 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.1395, allocations: 91.72 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1397, allocations: 67.8 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1399, allocations: 99.64 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.14, allocations: 4.234 kB / 482.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1401, allocations: 47.77 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.1402, allocations: 43.83 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1402, allocations: 0 / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.1403, allocations: 35.92 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1404, allocations: 23.92 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.1404, allocations: 31.75 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1406, allocations: 99.91 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1406, allocations: 4 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1406, allocations: 0 / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1406, allocations: 0 / 482.7 MB, free: 2.266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005269/0.1412, allocations: 411 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1412, allocations: 8.875 kB / 483.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.1413, allocations: 30.75 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1413, allocations: 16.84 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1416, allocations: 220.6 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1416, allocations: 4.375 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1416, allocations: 3.938 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1418, allocations: 45.67 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.1418, allocations: 4 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1418, allocations: 0 / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1418, allocations: 0 / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.1419, allocations: 15.98 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1421, allocations: 181.7 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1423, allocations: 58.5 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.1423, allocations: 20.84 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1424, allocations: 4 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.1426, allocations: 67.3 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.1426, allocations: 0 / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002928/0.1429, allocations: 93.52 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.143, allocations: 59.41 kB / 483.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1431, allocations: 186.9 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1432, allocations: 25.7 kB / 484.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.1432, allocations: 104.1 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1433, allocations: 15.8 kB / 484.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1433, allocations: 25.72 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1435, allocations: 318.8 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.1435, allocations: 12 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.1436, allocations: 33.7 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1437, allocations: 45.64 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1437, allocations: 8.125 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001745/0.1439, allocations: 85.59 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1439, allocations: 4 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1439, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.144, allocations: 0 / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.144, allocations: 19.92 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1441, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.1441, allocations: 4 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1441, allocations: 4.141 kB / 484.8 MB, free: 15.93 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 (7): * Single equations (assignments): 7 * 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.612e-05/0.1442, allocations: 133.7 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1443, allocations: 19.81 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1443, allocations: 9 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1443, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1443, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1443, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1445, allocations: 197.5 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1445, allocations: 0 / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.1445, allocations: 8 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1445, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1446, allocations: 0 / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1446, allocations: 11.98 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1446, allocations: 0 / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1448, allocations: 108.9 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1448, allocations: 85 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1449, allocations: 8 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.1449, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1449, allocations: 4 kB / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.145, allocations: 0 / 485.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1451, allocations: 156.7 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1451, allocations: 0 / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1453, allocations: 23.89 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001387/0.1467, allocations: 0.9468 MB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1469, allocations: 43.92 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1469, allocations: 0 / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.147, allocations: 19.94 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1473, allocations: 31.16 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.149, allocations: 1.505 MB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1494, allocations: 0.7043 MB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.1494, allocations: 16.41 kB / 488.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1495, allocations: 27.42 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1495, allocations: 4 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.1647, allocations: 2.901 MB / 491.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.1649, allocations: 232.4 kB / 492 MB, free: 8.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.168, allocations: 0 / 492 MB, free: 8.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches