Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 101 kB / 16.27 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 193.2 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2249/0.2249, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 72.94 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003089/0.108, allocations: 1.555 MB / 442.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.1085, allocations: 323.5 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1085, allocations: 0 / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1088, allocations: 103.7 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.109, allocations: 79.78 kB / 442.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1092, allocations: 71.03 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1094, allocations: 71.88 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1095, allocations: 15.97 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.1095, allocations: 43.83 kB / 442.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1096, allocations: 59.88 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1097, allocations: 4 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.1097, allocations: 31.94 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.1098, allocations: 19.92 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1098, allocations: 35.73 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.11, allocations: 91.66 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.11, allocations: 7.984 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.11, allocations: 0 / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.11, allocations: 0 / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004122/0.1104, allocations: 406.9 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1105, allocations: 15.89 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.1105, allocations: 34.75 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1106, allocations: 8.844 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1107, allocations: 207.9 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1107, allocations: 4.375 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1107, allocations: 384 / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1109, allocations: 49.62 kB / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1109, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1109, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1109, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.111, allocations: 27.97 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.1113, allocations: 284.8 kB / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1115, allocations: 42.5 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1116, allocations: 20.94 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1116, allocations: 4 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1116, allocations: 34.56 kB / 444.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1116, allocations: 0 / 444.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005182/0.1121, allocations: 149 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.1122, allocations: 59.34 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1123, allocations: 246.6 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.1124, allocations: 25.7 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1124, allocations: 112.1 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1124, allocations: 11.8 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1125, allocations: 17.72 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.1125, allocations: 326.8 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1126, allocations: 19.98 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.1127, allocations: 19.92 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1128, allocations: 48.83 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1128, allocations: 0 / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.1129, allocations: 85.73 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.113, allocations: 8 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.113, allocations: 0 / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.113, allocations: 0 / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.1131, allocations: 15.98 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1131, allocations: 4 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.1131, allocations: 4 kB / 445.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1131, allocations: 7.938 kB / 445.4 MB, free: 1.82 MB / 318.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 (5): * Single equations (assignments): 5 * 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 6.142e-05/0.1132, allocations: 133.7 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1132, allocations: 7.906 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.1134, allocations: 94.66 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1134, allocations: 7.984 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1134, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1135, allocations: 0 / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1138, allocations: 358.4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1138, allocations: 3.984 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.1138, allocations: 8 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1138, allocations: 288 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1138, allocations: 7.938 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1139, allocations: 11.94 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1139, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.114, allocations: 187.2 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.1141, allocations: 85.2 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1141, allocations: 4 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.1141, allocations: 11.92 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1142, allocations: 4 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1142, allocations: 4 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.1143, allocations: 183.2 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1143, allocations: 0 / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1145, allocations: 16 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001165/0.1157, allocations: 1.009 MB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1159, allocations: 55.91 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1159, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.116, allocations: 23.98 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1164, allocations: 21.95 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1182, allocations: 1.61 MB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1185, allocations: 0.7119 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.1185, allocations: 12 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.1186, allocations: 31.42 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1186, allocations: 0 / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1385, allocations: 2.831 MB / 452.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.729, allocations: 15.81 kB / 452.8 MB, free: 10.23 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:time,der(clock.y),der(d_t_new.u),clock.y,d_t_new.u,d_t_new.y