Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 110 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 221.2 kB / 23 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.25 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 75.91 kB / 467.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1082, allocations: 61.04 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003809/0.112, allocations: 2.134 MB / 0.5182 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1144, allocations: 1.329 MB / 0.5195 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1146, allocations: 4 kB / 0.5195 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.1147, allocations: 23.67 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1148, allocations: 31.72 kB / 0.5196 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.1154, allocations: 187.3 kB / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1157, allocations: 176.1 kB / 0.5199 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.116, allocations: 96.34 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1162, allocations: 83.59 kB / 0.5201 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1163, allocations: 91.53 kB / 0.5202 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1163, allocations: 16 kB / 0.5202 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.1168, allocations: 151.9 kB / 0.5204 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1168, allocations: 39.86 kB / 0.5204 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.1169, allocations: 95.45 kB / 0.5205 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.1175, allocations: 314.5 kB / 0.5208 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1175, allocations: 0 / 0.5208 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1175, allocations: 0 / 0.5208 GB, free: 2.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1175, allocations: 4 kB / 0.5208 GB, free: 2.535 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007096/0.1182, allocations: 457.6 kB / 0.5212 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1183, allocations: 15.97 kB / 0.5213 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.1184, allocations: 83.23 kB / 0.5213 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.1193, allocations: 76.73 kB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1195, allocations: 130.2 kB / 0.5215 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.1195, allocations: 29.03 kB / 0.5216 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1195, allocations: 32.38 kB / 0.5216 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.12, allocations: 234.2 kB / 0.5218 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.12, allocations: 0 / 0.5218 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.12, allocations: 12 kB / 0.5218 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.12, allocations: 4 kB / 0.5218 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.1204, allocations: 162.5 kB / 0.522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1214, allocations: 0.6093 MB / 0.5226 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.1219, allocations: 223.3 kB / 0.5228 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.122, allocations: 61.3 kB / 0.5228 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1221, allocations: 4.234 kB / 0.5228 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1221, allocations: 34.8 kB / 0.5229 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.1221, allocations: 0 / 0.5229 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005038/0.1226, allocations: 218.2 kB / 0.5231 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.1227, allocations: 67.28 kB / 0.5232 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1228, allocations: 97.84 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1228, allocations: 33.7 kB / 0.5233 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1229, allocations: 148.5 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.123, allocations: 99.16 kB / 0.5235 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.1231, allocations: 45.7 kB / 0.5236 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1232, allocations: 318.8 kB / 0.5239 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1233, allocations: 43.97 kB / 0.5239 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.1234, allocations: 43.98 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.1237, allocations: 126.1 kB / 0.5241 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1237, allocations: 0 / 0.5241 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002958/0.124, allocations: 169.5 kB / 0.5242 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.124, allocations: 4 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.124, allocations: 0 / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.124, allocations: 4 kB / 0.5242 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.1244, allocations: 103.9 kB / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1244, allocations: 7.984 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.1245, allocations: 11.89 kB / 0.5244 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1245, allocations: 8 kB / 0.5244 GB, free: 14.69 MB / 414.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 (27): * Single equations (assignments): 27 * 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.0001298/0.1246, allocations: 129.8 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.1247, allocations: 11.91 kB / 0.5245 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.1247, allocations: 29.55 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1247, allocations: 7.938 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1247, allocations: 4 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1248, allocations: 3.938 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.1251, allocations: 260.5 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1251, allocations: 0 / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.1255, allocations: 99.89 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1255, allocations: 4 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1255, allocations: 0 / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.1255, allocations: 7.938 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1255, allocations: 0 / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1258, allocations: 267.4 kB / 0.5252 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.1259, allocations: 15.84 kB / 0.5252 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1259, allocations: 11.98 kB / 0.5252 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.126, allocations: 7.938 kB / 0.5252 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.126, allocations: 19.97 kB / 0.5252 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1261, allocations: 4 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.1261, allocations: 83.28 kB / 0.5253 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1261, allocations: 0 / 0.5253 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1264, allocations: 59.78 kB / 0.5253 GB, free: 13.61 MB / 414.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 (27): * Single equations (assignments): 27 * 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.0008211/0.1272, allocations: 0.869 MB / 0.5262 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1275, allocations: 127.9 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1275, allocations: 0 / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1277, allocations: 71.89 kB / 0.5264 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1279, allocations: 19.88 kB / 0.5264 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1303, allocations: 1.977 MB / 0.5283 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.1307, allocations: 0.7397 MB / 0.5291 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.422e-05/0.1308, allocations: 21.41 kB / 0.5291 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1309, allocations: 59.42 kB / 0.5291 GB, free: 9.602 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1309, allocations: 0 / 0.5291 GB, free: 9.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.1608, allocations: 2.957 MB / 0.532 GB, free: 6.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.21, allocations: 3.938 kB / 0.532 GB, free: 6.637 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.334131291136146]