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.001127/0.001127, allocations: 105 kB / 16.4 MB, free: 6.504 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.001137/0.001137, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.361/1.361, 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.2283/0.2283, allocations: 43.52 MB / 314.1 MB, free: 464 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.001572/0.001572, allocations: 74.03 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.121, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003611/0.1247, allocations: 2.085 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.127, allocations: 1.313 MB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1271, allocations: 7.938 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.1272, allocations: 27.66 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1274, allocations: 31.64 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1281, allocations: 183.3 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1284, allocations: 176.1 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1286, allocations: 111.2 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1288, allocations: 71.66 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1289, allocations: 87.55 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.129, allocations: 23.94 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.1294, allocations: 151.9 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.1294, allocations: 43.84 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.1295, allocations: 91.47 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.13, allocations: 314.8 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.13, allocations: 0 / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.13, allocations: 0 / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1301, allocations: 0 / 0.492 GB, free: 7.555 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.0006761/0.1307, allocations: 0.5226 MB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1308, allocations: 11.89 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1309, allocations: 83.17 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.1318, allocations: 76.52 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.132, allocations: 192.1 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.132, allocations: 21.03 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.1321, allocations: 36.31 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.1325, allocations: 238.2 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1325, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1326, allocations: 12 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1326, allocations: 8 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1329, allocations: 162.5 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.1339, allocations: 0.6476 MB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.1345, allocations: 235.3 kB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1346, allocations: 73.3 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1347, allocations: 4.234 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1347, allocations: 30.8 kB / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.462e-06/0.1347, allocations: 0 / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.000487/0.1352, allocations: 222.1 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1352, allocations: 59.34 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.1353, allocations: 97.86 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1354, allocations: 37.69 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1355, allocations: 148.3 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.1355, allocations: 90.59 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.1356, allocations: 45.7 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1358, allocations: 318.8 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1359, allocations: 39.98 kB / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/0.136, allocations: 48.22 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1362, allocations: 122.2 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1362, allocations: 4 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002863/0.1365, allocations: 169.5 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1365, allocations: 4 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1366, allocations: 0 / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1366, allocations: 4 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.137, allocations: 99.89 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.137, allocations: 4 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1371, allocations: 19.83 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1371, allocations: 4 kB / 0.4957 GB, free: 3.488 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.0001138/0.1372, allocations: 133.7 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1372, allocations: 15.8 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.1373, allocations: 21.12 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.1373, allocations: 7.938 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1374, allocations: 0 / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1374, allocations: 7.984 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.1377, allocations: 285.4 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1377, allocations: 0 / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1381, allocations: 103.9 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1381, allocations: 0 / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1381, allocations: 7.938 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1381, allocations: 3.938 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1381, allocations: 11.98 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1385, allocations: 271.3 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1385, allocations: 88.95 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1386, allocations: 4 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1387, allocations: 11.92 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1387, allocations: 15.98 kB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1387, allocations: 8 kB / 0.4967 GB, free: 2.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1388, allocations: 83.28 kB / 0.4968 GB, free: 2.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1388, allocations: 0 / 0.4968 GB, free: 2.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1391, allocations: 63.62 kB / 0.4968 GB, free: 2.266 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.0007038/0.1398, allocations: 0.8689 MB / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.1401, allocations: 139.9 kB / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1401, allocations: 0 / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1403, allocations: 75.89 kB / 0.4979 GB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1405, allocations: 15.94 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1427, allocations: 1.96 MB / 0.4998 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.143, allocations: 0.7436 MB / 0.5005 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.731e-05/0.1431, allocations: 13.41 kB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.1432, allocations: 59.42 kB / 0.5006 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1432, allocations: 4 kB / 0.5006 GB, free: 14.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.1624, allocations: 2.768 MB / 0.5033 GB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.203, allocations: 7.938 kB / 0.5033 GB, free: 11.48 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