Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001924, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, 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.2263/0.2263, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 77.59 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002972/0.1093, allocations: 1.673 MB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.1103, allocations: 0.5261 MB / 481.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.1103, allocations: 0 / 481.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1107, allocations: 131.7 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.111, allocations: 111.7 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1113, allocations: 83.34 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1115, allocations: 91.8 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1116, allocations: 19.98 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.1117, allocations: 47.83 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1119, allocations: 87.72 kB / 482.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1119, allocations: 4 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.112, allocations: 47.97 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1121, allocations: 27.86 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.1121, allocations: 39.69 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1124, allocations: 119.9 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1124, allocations: 0 / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1124, allocations: 8 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1124, allocations: 0 / 482.6 MB, free: 2.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000544/0.113, allocations: 426.8 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.113, allocations: 12.03 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.1131, allocations: 34.75 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1131, allocations: 20.69 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1134, allocations: 211.9 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.1134, allocations: 384 / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.1134, allocations: 4.375 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1136, allocations: 65.59 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1136, allocations: 0 / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1136, allocations: 3.938 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1136, allocations: 4 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1137, allocations: 19.98 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1141, allocations: 312.6 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1142, allocations: 46.56 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1143, allocations: 20.94 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1143, allocations: 3.938 kB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1144, allocations: 34.56 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1144, allocations: 3.938 kB / 483.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008907/0.1153, allocations: 229.3 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1153, allocations: 55.41 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1156, allocations: 279.7 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1156, allocations: 29.7 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.1157, allocations: 112.1 kB / 484.5 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1157, allocations: 31.69 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1158, allocations: 25.7 kB / 484.5 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1159, allocations: 326.8 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.116, allocations: 19.98 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.1161, allocations: 27.98 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1162, allocations: 60.83 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1162, allocations: 4 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002007/0.1165, allocations: 101.5 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1165, allocations: 6.969 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1165, allocations: 0 / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1165, allocations: 0 / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1166, allocations: 23.98 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1166, allocations: 3.938 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1167, allocations: 11.84 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1167, allocations: 4 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.611e-05/0.1168, allocations: 133.8 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1168, allocations: 11.91 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.1171, allocations: 139.1 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1171, allocations: 3.984 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1171, allocations: 3.938 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1171, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.1177, allocations: 415.3 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1177, allocations: 0 / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.1178, allocations: 23.92 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1178, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1178, allocations: 4 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1178, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1178, allocations: 4.031 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1181, allocations: 208.1 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1181, allocations: 96.84 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1182, allocations: 8 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1183, allocations: 4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1183, allocations: 7.984 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1183, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1185, allocations: 213.5 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 0 / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1188, allocations: 23.98 kB / 486.4 MB, free: 14.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001454/0.1202, allocations: 1.073 MB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1205, allocations: 75.91 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1205, allocations: 3.938 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.1206, allocations: 31.97 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1209, allocations: 23.73 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.123, allocations: 1.832 MB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1233, allocations: 0.7137 MB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.1234, allocations: 12.66 kB / 490.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.1235, allocations: 43.42 kB / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1235, allocations: 0 / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.139, allocations: 3.196 MB / 493.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.1393, allocations: 243.7 kB / 493.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.021, allocations: 0 / 493.6 MB, free: 7.191 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches