Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.0007632/0.0007631, allocations: 95.19 kB / 17.35 MB, free: 6.371 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.0008162/0.0008161, allocations: 176.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1777/0.1777, allocations: 44.23 MB / 337.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 12.28 kB / 410.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00207/0.1156, allocations: 1.27 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.1164, allocations: 407.4 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1165, allocations: 0 / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1167, allocations: 15.91 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1169, allocations: 31.92 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1172, allocations: 99.69 kB / 474.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1174, allocations: 55.78 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1175, allocations: 15.98 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.1175, allocations: 19.92 kB / 474.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1176, allocations: 11.88 kB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1176, allocations: 0 / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.1177, allocations: 35.92 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1178, allocations: 15.91 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1178, allocations: 41.58 kB / 474.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.118, allocations: 68.08 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.118, allocations: 0 / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.118, allocations: 0 / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.118, allocations: 4 kB / 474.4 MB, free: 11.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000399/0.1184, allocations: 365.6 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1185, allocations: 12.03 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1185, allocations: 38.69 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1185, allocations: 8.844 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1187, allocations: 194.9 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1187, allocations: 4.312 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1188, allocations: 4.312 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1189, allocations: 53.62 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1189, allocations: 4 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1189, allocations: 4 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1189, allocations: 0 / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.119, allocations: 27.97 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.1194, allocations: 280.9 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1196, allocations: 46.5 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.1196, allocations: 24.94 kB / 475.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1197, allocations: 0 / 475.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1197, allocations: 38.56 kB / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1197, allocations: 0 / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005389/0.1202, allocations: 173.2 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1203, allocations: 51.41 kB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1204, allocations: 138.1 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1204, allocations: 25.7 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1205, allocations: 92.14 kB / 476 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1205, allocations: 19.73 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.1206, allocations: 9.719 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.1207, allocations: 326.8 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.1208, allocations: 23.98 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.1208, allocations: 23.98 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.121, allocations: 68.77 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.121, allocations: 0 / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001876/0.1212, allocations: 93.56 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1212, allocations: 6.5 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1212, allocations: 0 / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1212, allocations: 4 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.1213, allocations: 15.98 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1213, allocations: 4 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.1214, allocations: 4 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1214, allocations: 3.938 kB / 476.6 MB, free: 8.812 MB / 350.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 8.007e-05/0.1215, allocations: 117.8 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1215, allocations: 11.89 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1218, allocations: 106 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1218, allocations: 3.938 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1218, allocations: 0 / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1218, allocations: 288 / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1222, allocations: 370.4 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1222, allocations: 384 / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.1223, allocations: 15.98 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1223, allocations: 3.984 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1223, allocations: 4 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1223, allocations: 3.938 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1223, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1226, allocations: 195.4 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1226, allocations: 84.95 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1226, allocations: 4 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1227, allocations: 15.92 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1227, allocations: 4 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1228, allocations: 4 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.1228, allocations: 114.2 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 0 / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1231, allocations: 12 kB / 477.6 MB, free: 7.66 MB / 350.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.001225/0.1243, allocations: 1.023 MB / 478.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1245, allocations: 63.91 kB / 478.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1245, allocations: 0 / 478.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.1246, allocations: 31.98 kB / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1249, allocations: 19.91 kB / 478.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1264, allocations: 1.455 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1267, allocations: 0.6965 MB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.1267, allocations: 11.98 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.1268, allocations: 23.42 kB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1268, allocations: 0 / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.1391, allocations: 2.08 MB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.1394, allocations: 231.8 kB / 483.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.88, allocations: 3.938 kB / 483.3 MB, free: 2.133 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches