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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 16.41 MB, free: 6.484 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.001248/0.001248, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2115/0.2115, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001944/0.001944, allocations: 67.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1017, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003381/0.1052, allocations: 2.085 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1072, allocations: 1.317 MB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.1073, allocations: 4 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.75e-05/0.1074, allocations: 23.67 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.1075, allocations: 31.66 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.108, allocations: 187.3 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1082, allocations: 172.1 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1084, allocations: 111.3 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1086, allocations: 75.64 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1087, allocations: 91.55 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1087, allocations: 20 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.109, allocations: 151.9 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.1091, allocations: 43.83 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.857e-05/0.1092, allocations: 91.48 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.1096, allocations: 314.5 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1096, allocations: 0 / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1096, allocations: 0 / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1096, allocations: 0 / 0.492 GB, free: 7.559 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008614/0.1105, allocations: 0.5293 MB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.1106, allocations: 15.89 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1107, allocations: 91.16 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.1116, allocations: 72.7 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1118, allocations: 192.1 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.1119, allocations: 21.03 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1119, allocations: 32.38 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.1124, allocations: 234.2 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1124, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1124, allocations: 16 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1124, allocations: 8 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.1128, allocations: 162.5 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009938/0.1138, allocations: 0.6479 MB / 0.494 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.1143, allocations: 235.3 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.1144, allocations: 69.3 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1145, allocations: 4.234 kB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1145, allocations: 38.8 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.1145, allocations: 0 / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004488/0.115, allocations: 218.1 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.115, allocations: 63.34 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.1151, allocations: 101.8 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1152, allocations: 37.64 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.1152, allocations: 148.6 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.1153, allocations: 91.17 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.1154, allocations: 45.7 kB / 0.495 GB, free: 4.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1156, allocations: 318.8 kB / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1157, allocations: 43.97 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.1158, allocations: 39.98 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.116, allocations: 126.2 kB / 0.4955 GB, free: 3.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.116, allocations: 4 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002742/0.1163, allocations: 169.5 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1163, allocations: 4 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1163, allocations: 0 / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1163, allocations: 4 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1167, allocations: 107.9 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1167, allocations: 0 / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.1168, allocations: 15.89 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1168, allocations: 8 kB / 0.4958 GB, free: 3.473 MB / 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 (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.0001144/0.1169, allocations: 133.7 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.117, allocations: 7.953 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.1171, allocations: 25.38 kB / 0.4959 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1171, allocations: 7.922 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1171, allocations: 4 kB / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1171, allocations: 8 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1174, allocations: 285.4 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1174, allocations: 3.984 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.1178, allocations: 99.89 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1178, allocations: 0 / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1178, allocations: 0 / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1178, allocations: 7.938 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1178, allocations: 4 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1181, allocations: 275.3 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1182, allocations: 93 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1182, allocations: 7.984 kB / 0.4967 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1183, allocations: 7.938 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1184, allocations: 15.98 kB / 0.4967 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1184, allocations: 4 kB / 0.4967 GB, free: 2.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.396e-05/0.1185, allocations: 95.2 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1185, allocations: 0 / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1187, allocations: 55.78 kB / 0.4969 GB, free: 2.254 MB / 382.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.0007768/0.1195, allocations: 0.869 MB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1198, allocations: 135.9 kB / 0.4978 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1198, allocations: 0 / 0.4978 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.12, allocations: 79.89 kB / 0.4979 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1202, allocations: 18.59 kB / 0.4979 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1225, allocations: 1.963 MB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1229, allocations: 0.7397 MB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.123, allocations: 17.41 kB / 0.5006 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.1231, allocations: 63.41 kB / 0.5006 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1231, allocations: 4 kB / 0.5006 GB, free: 14.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.1451, allocations: 2.734 MB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.058, allocations: 11.34 kB / 0.5033 GB, free: 11.49 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) 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) Reference file matches