Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 78.53 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.44 MB / 480.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00309/0.1173, allocations: 1.688 MB / 481.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.119, allocations: 1.002 MB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1191, allocations: 0 / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.1195, allocations: 67.72 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1199, allocations: 103.6 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1202, allocations: 71.69 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1204, allocations: 107.7 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1204, allocations: 4.234 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.1205, allocations: 47.78 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.1207, allocations: 47.83 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1207, allocations: 4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1208, allocations: 31.98 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1208, allocations: 23.86 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.1209, allocations: 35.73 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1211, allocations: 103.9 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1211, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1211, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1211, allocations: 0 / 483.5 MB, free: 1.793 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.0005019/0.1216, allocations: 406.9 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1217, allocations: 16.03 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1217, allocations: 34.69 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1218, allocations: 8.844 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.122, allocations: 220.7 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.122, allocations: 384 / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.122, allocations: 7.938 kB / 484.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1222, allocations: 45.67 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1222, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1222, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1222, allocations: 4 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.1223, allocations: 15.98 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.1225, allocations: 181.7 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1227, allocations: 58.48 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1228, allocations: 16.86 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1228, allocations: 4 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.123, allocations: 67.3 kB / 484.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.123, allocations: 4 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000302/0.1233, allocations: 97.5 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1234, allocations: 51.41 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1236, allocations: 198.4 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1236, allocations: 25.7 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1237, allocations: 104.1 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.1237, allocations: 19.8 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.1237, allocations: 17.72 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1239, allocations: 322.8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.124, allocations: 16.23 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.124, allocations: 21.72 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1241, allocations: 57.64 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1242, allocations: 3.938 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.1243, allocations: 77.59 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1243, allocations: 10.5 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1244, allocations: 3.984 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1244, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.1245, allocations: 11.94 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1245, allocations: 160 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1245, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1245, allocations: 12.02 kB / 485.6 MB, free: 15.45 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.537e-05/0.1246, allocations: 125.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.1247, allocations: 15.75 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1247, allocations: 16.98 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1247, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1247, allocations: 4 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1247, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1249, allocations: 193.5 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1249, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.1249, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1249, allocations: 11.98 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1249, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1249, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1249, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1251, allocations: 117 kB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.1252, allocations: 89 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1252, allocations: 0 / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.1253, allocations: 12 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1253, allocations: 3.984 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1253, allocations: 4 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1254, allocations: 148.2 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1254, allocations: 0 / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1257, allocations: 19.91 kB / 486.3 MB, free: 14.61 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.001262/0.1269, allocations: 0.946 MB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1271, allocations: 39.98 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1271, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.1272, allocations: 23.92 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1274, allocations: 27.61 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.129, allocations: 1.498 MB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1292, allocations: 0.7049 MB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1293, allocations: 12.56 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.1294, allocations: 31.42 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1294, allocations: 3.938 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.1476, allocations: 3.074 MB / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.112, allocations: 4.125 kB / 492.7 MB, free: 8.309 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches