Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004471/0.004471, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3688/0.3688, allocations: 43.5 MB / 313.5 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003403/0.138, allocations: 1.714 MB / 441.6 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1394, allocations: 0.7729 MB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1396, allocations: 3.938 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.14, allocations: 83.81 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1403, allocations: 63.8 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1406, allocations: 79.78 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1408, allocations: 95.75 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.1408, allocations: 11.97 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.141, allocations: 39.8 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1411, allocations: 55.75 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1411, allocations: 0 / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1412, allocations: 31.98 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1413, allocations: 27.91 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.1414, allocations: 27.75 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1416, allocations: 103.9 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1416, allocations: 4 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1416, allocations: 0 / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1416, allocations: 0 / 443 MB, free: 11.61 MB / 382.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.0006039/0.1422, allocations: 414.9 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1423, allocations: 8.031 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1423, allocations: 38.69 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1424, allocations: 20.67 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1426, allocations: 200.9 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1426, allocations: 4.375 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1427, allocations: 3.938 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1428, allocations: 53.67 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1428, allocations: 0 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1429, allocations: 0 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.1429, allocations: 3.984 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.1429, allocations: 19.92 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1432, allocations: 181.7 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1433, allocations: 58.55 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.1434, allocations: 16.86 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1434, allocations: 3.984 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1437, allocations: 67.38 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.1437, allocations: 0 / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002946/0.144, allocations: 105.4 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.144, allocations: 51.41 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1443, allocations: 210.4 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1443, allocations: 29.7 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1444, allocations: 104.1 kB / 444.6 MB, free: 9.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.1444, allocations: 15.84 kB / 444.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1444, allocations: 21.7 kB / 444.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1446, allocations: 326.8 kB / 444.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.1446, allocations: 12 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.1447, allocations: 29.69 kB / 445 MB, free: 9.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.1448, allocations: 53.89 kB / 445 MB, free: 9.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1448, allocations: 3.938 kB / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001566/0.145, allocations: 81.44 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.145, allocations: 12.03 kB / 445.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.145, allocations: 0 / 445.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.145, allocations: 0 / 445.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1451, allocations: 11.98 kB / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1452, allocations: 0 / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1452, allocations: 8 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1452, allocations: 7.938 kB / 445.2 MB, free: 9.227 MB / 382.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 0.0001044/0.1453, allocations: 125.8 kB / 445.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1454, allocations: 15.81 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.1454, allocations: 17 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1454, allocations: 0 / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1454, allocations: 3.938 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1454, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1456, allocations: 189.6 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1456, allocations: 4 kB / 445.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.1456, allocations: 0 / 445.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1456, allocations: 7.938 kB / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1457, allocations: 0 / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1457, allocations: 0 / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1457, allocations: 0 / 445.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1459, allocations: 113 kB / 445.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.1459, allocations: 85.14 kB / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1459, allocations: 7.984 kB / 445.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.146, allocations: 4 kB / 445.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.146, allocations: 4 kB / 445.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.146, allocations: 4 kB / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1462, allocations: 160.2 kB / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1462, allocations: 4 kB / 445.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1464, allocations: 15.91 kB / 445.9 MB, free: 8.379 MB / 382.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.00139/0.1478, allocations: 0.9671 MB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.148, allocations: 39.98 kB / 446.9 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.148, allocations: 4.062 kB / 446.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/0.1481, allocations: 23.92 kB / 446.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1483, allocations: 23.98 kB / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.15, allocations: 1.547 MB / 448.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1503, allocations: 0.7043 MB / 449.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.1504, allocations: 12.55 kB / 449.2 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.1504, allocations: 23.44 kB / 449.2 MB, free: 4.938 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1505, allocations: 0 / 449.2 MB, free: 4.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.1643, allocations: 2.945 MB / 452.2 MB, free: 1.969 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.1646, allocations: 238.3 kB / 452.4 MB, free: 1.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.922, allocations: 0 / 452.4 MB, free: 1.711 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches