Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 208.6 kB / 18.58 MB, free: 4.602 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.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 76.08 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00321/0.1097, allocations: 1.723 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1114, allocations: 1.025 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1115, allocations: 3.938 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1119, allocations: 55.77 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.1123, allocations: 95.59 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1126, allocations: 79.66 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1129, allocations: 103.7 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.113, allocations: 19.97 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1132, allocations: 43.78 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.1133, allocations: 27.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1133, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1134, allocations: 47.92 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.1135, allocations: 35.89 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.1136, allocations: 43.62 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1139, allocations: 131.8 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1139, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.114, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.114, allocations: 3.938 kB / 483.6 MB, free: 1.746 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.0007741/0.1148, allocations: 458.6 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1148, allocations: 8.031 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.1149, allocations: 30.75 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1149, allocations: 20.69 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1152, allocations: 220 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1153, allocations: 384 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1153, allocations: 7.938 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1155, allocations: 53.67 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1155, allocations: 4 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1155, allocations: 0 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1155, allocations: 0 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.1156, allocations: 19.98 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1161, allocations: 316.6 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1163, allocations: 62.67 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.1164, allocations: 16.86 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1164, allocations: 0 / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.1166, allocations: 75.31 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1166, allocations: 0 / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005921/0.1172, allocations: 181 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1173, allocations: 55.41 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1175, allocations: 288.2 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1176, allocations: 25.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1176, allocations: 112.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1177, allocations: 27.64 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1177, allocations: 25.72 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1179, allocations: 330.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.1179, allocations: 16 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.118, allocations: 41.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1181, allocations: 65.7 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1182, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.1184, allocations: 101.5 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1184, allocations: 6.5 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1184, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1184, allocations: 7.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.1185, allocations: 23.91 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1185, allocations: 192 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.1186, allocations: 11.94 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1186, allocations: 3.938 kB / 486.1 MB, free: 14.94 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.0001405/0.1188, allocations: 141.8 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1188, allocations: 11.81 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.1189, allocations: 21.41 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1189, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1189, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1189, allocations: 11.92 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.1194, allocations: 407.3 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1194, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.1195, allocations: 8 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1195, allocations: 3.938 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1195, allocations: 4.375 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1195, allocations: 7.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1195, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1198, allocations: 208.1 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1199, allocations: 89 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1199, allocations: 11.94 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.12, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1201, allocations: 7.984 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1201, allocations: 4 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.1204, allocations: 220.6 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1206, allocations: 27.91 kB / 487.3 MB, free: 13.67 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.001478/0.1221, allocations: 1.102 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1223, allocations: 55.92 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1223, allocations: 0 / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.1224, allocations: 35.98 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1228, allocations: 26.98 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1248, allocations: 1.847 MB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1251, allocations: 0.7236 MB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.1252, allocations: 13.19 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.1252, allocations: 43.42 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of SimCode: time 1.664e-06/0.1253, allocations: 0 / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1463, allocations: 3.769 MB / 494.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.707, allocations: 11.78 kB / 494.9 MB, free: 6.133 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches