Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007456/0.0007457, allocations: 96.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008609/0.000861, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 46.18 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002212/0.0002212, allocations: 12 kB / 419.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09602, allocations: 63.56 MB / 483.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00205/0.09811, allocations: 1.643 MB / 484.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.09955, allocations: 1.037 MB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.09964, allocations: 0 / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.09988, allocations: 35.84 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1001, allocations: 75.67 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1003, allocations: 87.8 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1005, allocations: 131.6 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.1006, allocations: 25.48 kB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.1007, allocations: 47.78 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.1007, allocations: 55.59 kB / 486.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1008, allocations: 4 kB / 486.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.1009, allocations: 43.97 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1009, allocations: 19.92 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.101, allocations: 73.38 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1012, allocations: 143.7 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1012, allocations: 0 / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1012, allocations: 0 / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1012, allocations: 0 / 486.6 MB, free: 0.5664 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005397/0.1018, allocations: 476.5 kB / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1018, allocations: 12.88 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1019, allocations: 34.75 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1019, allocations: 16.75 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1022, allocations: 220.9 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1022, allocations: 4.375 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1022, allocations: 11.94 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1024, allocations: 116.1 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1024, allocations: 0 / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1025, allocations: 8 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1025, allocations: 3.938 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1026, allocations: 51.91 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.1031, allocations: 0.5164 MB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.1034, allocations: 90.61 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.1035, allocations: 44.83 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1035, allocations: 0 / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1037, allocations: 79.38 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1037, allocations: 7.938 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003372/0.1041, allocations: 149.5 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.1041, allocations: 55.34 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1043, allocations: 206.1 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1043, allocations: 29.7 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.1044, allocations: 116 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1044, allocations: 27.7 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1044, allocations: 21.7 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1045, allocations: 326.8 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.1046, allocations: 31.98 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.1047, allocations: 63.77 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1049, allocations: 108.6 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1049, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002622/0.1052, allocations: 145.3 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1052, allocations: 4 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1052, allocations: 7.938 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1053, allocations: 3.938 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.1054, allocations: 27.98 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1054, allocations: 0 / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.1054, allocations: 23.97 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1055, allocations: 4 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001026/0.1056, allocations: 132.1 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1056, allocations: 15.81 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.1056, allocations: 17.41 kB / 489.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1056, allocations: 3.938 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1057, allocations: 4 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1057, allocations: 7.922 kB / 489.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1058, allocations: 209.6 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1058, allocations: 0 / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.1059, allocations: 12 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1059, allocations: 0 / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1059, allocations: 3.984 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1059, allocations: 3.938 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1059, allocations: 0 / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1063, allocations: 188.8 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.1063, allocations: 100.9 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1064, allocations: 0 / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1064, allocations: 11.94 kB / 490.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1065, allocations: 11.98 kB / 490.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1065, allocations: 0 / 490.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1066, allocations: 152.4 kB / 490.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1066, allocations: 192 / 490.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.1068, allocations: 28.12 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001263/0.1081, allocations: 1.025 MB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1083, allocations: 83.83 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1083, allocations: 4 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.1084, allocations: 39.92 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1087, allocations: 40.16 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1104, allocations: 1.779 MB / 493.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1106, allocations: 0.7165 MB / 494.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.357e-05/0.1107, allocations: 25.41 kB / 494.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.1107, allocations: 43.42 kB / 494.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1107, allocations: 0 / 494.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6794/0.7902, allocations: 3.339 MB / 497.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.7906, allocations: 229.2 kB / 497.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.76, allocations: 0 / 497.8 MB, free: 5.07 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches