Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 80.91 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1152, allocations: 62.45 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00311/0.1183, allocations: 1.785 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1199, allocations: 1.009 MB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.1199, allocations: 0 / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1202, allocations: 43.83 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1205, allocations: 79.75 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1207, allocations: 63.88 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1209, allocations: 99.69 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.1209, allocations: 11.98 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.121, allocations: 43.73 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.1211, allocations: 39.78 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1211, allocations: 8 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.1212, allocations: 47.97 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.1213, allocations: 23.86 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.1213, allocations: 35.69 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1215, allocations: 119.9 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1215, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1215, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1215, allocations: 0 / 483 MB, free: 2.07 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.0004219/0.1219, allocations: 410.9 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.122, allocations: 12.03 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.122, allocations: 42.75 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1221, allocations: 12.83 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1223, allocations: 210.6 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1223, allocations: 12.36 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1223, allocations: 7.875 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1224, allocations: 53.67 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1225, allocations: 3.906 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1225, allocations: 4 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.1225, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.1225, allocations: 19.98 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.1229, allocations: 284.9 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.123, allocations: 62.61 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1231, allocations: 16.86 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1231, allocations: 4 kB / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1233, allocations: 67.39 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1233, allocations: 0 / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004535/0.1237, allocations: 173.2 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1238, allocations: 51.41 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.124, allocations: 202.7 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.124, allocations: 25.7 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.124, allocations: 108.1 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1241, allocations: 23.7 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1241, allocations: 21.72 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1242, allocations: 322.8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1243, allocations: 27.92 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.1243, allocations: 33.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.906e-05/0.1244, allocations: 57.78 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1245, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1246, allocations: 109.6 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1247, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1247, allocations: 7.938 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.1247, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.1248, allocations: 16.36 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1248, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1248, allocations: 7.938 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1248, allocations: 16.03 kB / 485.4 MB, free: 15.44 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 9.536e-05/0.1249, allocations: 129.8 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.125, allocations: 11.84 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.125, allocations: 17.41 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.125, allocations: 0 / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.125, allocations: 0 / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.125, allocations: 3.938 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.1254, allocations: 399.2 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1254, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1255, allocations: 12 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1255, allocations: 3.938 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1255, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1255, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1255, allocations: 3.984 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1257, allocations: 204.2 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.1258, allocations: 92.92 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1258, allocations: 3.938 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1259, allocations: 4 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1259, allocations: 7.984 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1259, allocations: 8 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.126, allocations: 148.7 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.126, allocations: 0 / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1263, allocations: 24 kB / 486.4 MB, free: 14.28 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.001319/0.1276, allocations: 1.091 MB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1278, allocations: 67.89 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1278, allocations: 0 / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.1279, allocations: 27.98 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1282, allocations: 31.91 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1299, allocations: 1.667 MB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1302, allocations: 0.7041 MB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.1303, allocations: 16.88 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1303, allocations: 35.42 kB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1303, allocations: 3.938 kB / 490.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.1417, allocations: 3.275 MB / 493.4 MB, free: 7.492 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.1419, allocations: 234.2 kB / 493.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.145, allocations: 0 / 493.6 MB, free: 7.238 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches