Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 112.6 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003189/0.003189, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.1 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 73.22 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 62.44 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003844/0.121, allocations: 1.793 MB / 481.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1229, allocations: 1.002 MB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1231, allocations: 7.938 kB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.1235, allocations: 75.83 kB / 482.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.1239, allocations: 103.7 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1242, allocations: 67.81 kB / 482.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1244, allocations: 115.6 kB / 482.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1245, allocations: 11.98 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1247, allocations: 59.77 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1248, allocations: 67.69 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1248, allocations: 4 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1249, allocations: 39.98 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.125, allocations: 19.92 kB / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1251, allocations: 35.73 kB / 483 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1253, allocations: 131.8 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1253, allocations: 0 / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1253, allocations: 0 / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1253, allocations: 0 / 483.1 MB, free: 1.977 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006037/0.126, allocations: 430.9 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.126, allocations: 8.031 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.1262, allocations: 30.75 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1262, allocations: 16.75 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1265, allocations: 216.5 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1265, allocations: 384 / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1266, allocations: 11.88 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1267, allocations: 53.67 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1268, allocations: 7.984 kB / 483.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1268, allocations: 3.938 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1268, allocations: 0 / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.1269, allocations: 23.98 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.1274, allocations: 284.9 kB / 484.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1276, allocations: 62.67 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.1276, allocations: 20.8 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1277, allocations: 0 / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1279, allocations: 67.39 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.886e-06/0.1279, allocations: 3.984 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006905/0.1286, allocations: 177 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1286, allocations: 55.41 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1289, allocations: 228.2 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1289, allocations: 29.7 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.129, allocations: 108.1 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.129, allocations: 31.62 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.1291, allocations: 17.72 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1292, allocations: 322.8 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.1293, allocations: 24.36 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.1294, allocations: 41.64 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1295, allocations: 65.72 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1295, allocations: 4 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.1297, allocations: 105.4 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1297, allocations: 4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1298, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1298, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.1299, allocations: 24.02 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.1299, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.13, allocations: 7.938 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.13, allocations: 4 kB / 485.6 MB, free: 15.29 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 (10): * Single equations (assignments): 10 * 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.0001155/0.1301, allocations: 129.8 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1301, allocations: 11.91 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.1302, allocations: 17.41 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1302, allocations: 3.938 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.1302, allocations: 7.938 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1302, allocations: 7.922 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.1308, allocations: 395.3 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1308, allocations: 3.938 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.1309, allocations: 11.98 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1309, allocations: 3.938 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1309, allocations: 0 / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1309, allocations: 4 kB / 486.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1309, allocations: 4.031 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1311, allocations: 196.3 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1312, allocations: 88.92 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1312, allocations: 7.938 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1313, allocations: 7.984 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1314, allocations: 7.938 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1314, allocations: 8 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1315, allocations: 169.2 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1315, allocations: 0 / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1318, allocations: 20 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001663/0.1335, allocations: 1.096 MB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.1337, allocations: 59.92 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1337, allocations: 0 / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.1338, allocations: 35.98 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1341, allocations: 31.41 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1363, allocations: 1.723 MB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1367, allocations: 0.7157 MB / 490.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.1368, allocations: 13.19 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.1369, allocations: 39.42 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1369, allocations: 0 / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.1867, allocations: 3.379 MB / 493.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/0.1871, allocations: 242.1 kB / 494 MB, free: 6.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.214, allocations: 3.938 kB / 494 MB, free: 6.875 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches