Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001107/0.001107, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001153/0.001153, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3446, allocations: 60.81 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002489/0.3471, allocations: 1.574 MB / 0.52 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.3478, allocations: 400.1 kB / 0.5203 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.3479, allocations: 1.469 kB / 0.5203 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3481, allocations: 24.5 kB / 0.5204 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3482, allocations: 43.08 kB / 0.5204 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3486, allocations: 106.6 kB / 0.5205 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3487, allocations: 55.61 kB / 0.5206 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.3488, allocations: 12.52 kB / 0.5206 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.3488, allocations: 23.39 kB / 0.5206 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.3489, allocations: 19.45 kB / 0.5206 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.3489, allocations: 6.938 kB / 0.5206 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.349, allocations: 30.34 kB / 0.5207 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.349, allocations: 17.73 kB / 0.5207 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3491, allocations: 20.03 kB / 0.5207 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3492, allocations: 72.17 kB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3492, allocations: 0.6562 kB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3492, allocations: 0 / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3493, allocations: 4.969 kB / 0.5208 GB, free: 1.973 MB / 382.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.0003395/0.3496, allocations: 372.8 kB / 0.5211 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3496, allocations: 13.81 kB / 0.5211 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.311e-05/0.3497, allocations: 32.62 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.3497, allocations: 8.812 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3498, allocations: 185.1 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3498, allocations: 1.375 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3499, allocations: 7.406 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.35, allocations: 49.91 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.35, allocations: 0 / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.35, allocations: 5.062 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.35, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.3501, allocations: 27.16 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.3504, allocations: 284 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.3506, allocations: 42.84 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.3507, allocations: 25.59 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3507, allocations: 5.828 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.3507, allocations: 32.19 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3508, allocations: 0 / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000513/0.3513, allocations: 142.3 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.3513, allocations: 52.06 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3514, allocations: 143.6 kB / 0.5221 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.3514, allocations: 29.7 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/0.3515, allocations: 101.3 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3515, allocations: 15.75 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.3515, allocations: 13.97 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.3516, allocations: 323.7 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.3516, allocations: 21.12 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.3517, allocations: 20.53 kB / 0.5226 GB, free: 180 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3519, allocations: 56 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3519, allocations: 0 / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.352, allocations: 88.75 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3521, allocations: 5.719 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3521, allocations: 0 / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3521, allocations: 5.703 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.3522, allocations: 11.81 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3522, allocations: 5.094 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.3522, allocations: 8.719 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3522, allocations: 5 kB / 0.5228 GB, free: 88 kB / 382.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 9.723e-05/0.3523, allocations: 116.3 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.3524, allocations: 8.172 kB / 0.5229 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.3527, allocations: 98.66 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3527, allocations: 0 / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3527, allocations: 9.047 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3527, allocations: 0.7031 kB / 0.523 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.3532, allocations: 352.4 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3532, allocations: 0.5625 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.3533, allocations: 16.72 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3533, allocations: 0.5156 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3533, allocations: 1.188 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3533, allocations: 4.594 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3533, allocations: 5 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3536, allocations: 180.7 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.3536, allocations: 83.06 kB / 0.5236 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3536, allocations: 1.828 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3537, allocations: 9.078 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3538, allocations: 3.5 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-06/0.3538, allocations: 6.344 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.022e-05/0.3539, allocations: 108.3 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3539, allocations: 0 / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.3541, allocations: 19.62 kB / 0.5238 GB, free: 15.21 MB / 398.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.001406/0.3555, allocations: 1.022 MB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3558, allocations: 47.3 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3558, allocations: 0 / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.3559, allocations: 34.28 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3562, allocations: 24.39 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3578, allocations: 1.428 MB / 0.5263 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3582, allocations: 0.699 MB / 0.527 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.3583, allocations: 10.23 kB / 0.527 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.3583, allocations: 23.39 kB / 0.527 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3583, allocations: 0 / 0.527 GB, free: 12.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3788, allocations: 2.501 MB / 0.5294 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.921, allocations: 8.906 kB / 0.5294 GB, free: 11.48 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches