Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.31 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003142/0.1152, allocations: 1.731 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1169, allocations: 1.013 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.117, allocations: 0 / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1173, allocations: 43.77 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1177, allocations: 103.5 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.118, allocations: 75.67 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1182, allocations: 103.7 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1183, allocations: 15.97 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.1184, allocations: 39.8 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.1185, allocations: 35.78 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1185, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1187, allocations: 43.98 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1187, allocations: 23.92 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1188, allocations: 35.73 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.119, allocations: 123.8 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.119, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1191, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1191, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005461/0.1196, allocations: 410.9 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1197, allocations: 12.03 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1197, allocations: 34.75 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1198, allocations: 16.78 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.12, allocations: 208.7 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.12, allocations: 4.375 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1201, allocations: 7.938 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1202, allocations: 53.61 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1202, allocations: 7.906 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1203, allocations: 4 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1203, allocations: 0 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1203, allocations: 15.98 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1207, allocations: 292.9 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1209, allocations: 62.61 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.121, allocations: 20.84 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.121, allocations: 0 / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.1212, allocations: 71.39 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1212, allocations: 0 / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.1218, allocations: 173.2 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1219, allocations: 51.41 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1221, allocations: 206.2 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1221, allocations: 25.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1222, allocations: 96.14 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1223, allocations: 27.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1223, allocations: 25.72 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1224, allocations: 322.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.1225, allocations: 23.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.1226, allocations: 37.64 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1227, allocations: 61.69 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1227, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.1229, allocations: 105.9 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.123, allocations: 6.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.123, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.123, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1231, allocations: 19.98 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1231, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.1232, allocations: 7.938 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1232, allocations: 4 kB / 485.9 MB, free: 15.18 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.0001001/0.1233, allocations: 133.8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1233, allocations: 12.03 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1234, allocations: 21.39 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1234, allocations: 3.938 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1234, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1234, allocations: 7.922 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.1238, allocations: 399.2 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1238, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.1239, allocations: 11.98 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1239, allocations: 3.938 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1239, allocations: 4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1239, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1239, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1241, allocations: 204.3 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1242, allocations: 88.92 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1242, allocations: 7.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.1243, allocations: 7.984 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1243, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1243, allocations: 4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1245, allocations: 148.2 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1248, allocations: 23.98 kB / 487 MB, free: 14 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.001467/0.1262, allocations: 1.094 MB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1264, allocations: 67.91 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1264, allocations: 0 / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.1265, allocations: 32.12 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1269, allocations: 26.61 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1285, allocations: 1.646 MB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1289, allocations: 0.7119 MB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.129, allocations: 16.88 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.129, allocations: 35.42 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.129, allocations: 0 / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.1492, allocations: 3.376 MB / 494 MB, free: 7.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.717, allocations: 23.61 kB / 494 MB, free: 7.082 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches