Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_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.001156/0.001156, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001279/0.001279, allocations: 194 kB / 18.12 MB, free: 5.363 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.437/1.437, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2345/0.2345, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 60.94 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003698/0.1151, allocations: 2.149 MB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1175, allocations: 1.324 MB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1176, allocations: 4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.858e-05/0.1177, allocations: 11.86 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1179, allocations: 27.78 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.1186, allocations: 151.6 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1189, allocations: 164.1 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.1191, allocations: 103.6 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1193, allocations: 79.58 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1195, allocations: 83.55 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.1195, allocations: 16 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.1199, allocations: 139.9 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.12, allocations: 39.78 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.1201, allocations: 87.47 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.1206, allocations: 299.3 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1206, allocations: 0 / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1206, allocations: 0 / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1206, allocations: 0 / 473.3 MB, free: 10.08 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007286/0.1214, allocations: 0.5149 MB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.1214, allocations: 12.03 kB / 473.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.1216, allocations: 83.09 kB / 473.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1227, allocations: 80.59 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1228, allocations: 188 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.1229, allocations: 21.03 kB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.1229, allocations: 36.31 kB / 474.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.1234, allocations: 234.2 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1234, allocations: 4 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1234, allocations: 15.98 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1235, allocations: 8 kB / 474.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.1238, allocations: 170.5 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1249, allocations: 0.6555 MB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.1254, allocations: 223.4 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1256, allocations: 81.28 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1256, allocations: 240 / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1257, allocations: 34.8 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.263e-06/0.1257, allocations: 0 / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005084/0.1262, allocations: 215.1 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1263, allocations: 59.34 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.1264, allocations: 109.8 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1264, allocations: 25.7 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.1265, allocations: 156.2 kB / 476.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.1266, allocations: 78.75 kB / 476.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.1267, allocations: 45.7 kB / 476.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1269, allocations: 322.8 kB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.127, allocations: 47.95 kB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1271, allocations: 35.98 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1274, allocations: 130.2 kB / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1274, allocations: 0 / 476.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003031/0.1277, allocations: 165.5 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1277, allocations: 4 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1277, allocations: 4 kB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1277, allocations: 0 / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1281, allocations: 111.8 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1281, allocations: 0 / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.1282, allocations: 15.84 kB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1282, allocations: 4 kB / 477.1 MB, free: 6.016 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 (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.0001134/0.1283, allocations: 129.8 kB / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.1284, allocations: 7.906 kB / 477.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.1284, allocations: 25.12 kB / 477.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1284, allocations: 7.938 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1284, allocations: 4.25 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1285, allocations: 3.984 kB / 477.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1288, allocations: 285.4 kB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1288, allocations: 0 / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.1291, allocations: 103.9 kB / 477.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1292, allocations: 0 / 477.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1292, allocations: 11.94 kB / 477.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1292, allocations: 7.938 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1292, allocations: 3.938 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1295, allocations: 267.4 kB / 477.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1296, allocations: 88.92 kB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1296, allocations: 8 kB / 478 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.1297, allocations: 7.922 kB / 478 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1298, allocations: 19.98 kB / 478.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1298, allocations: 4 kB / 478.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.1299, allocations: 87.27 kB / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1299, allocations: 0 / 478.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1302, allocations: 59.69 kB / 478.2 MB, free: 4.816 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 (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.0007754/0.1309, allocations: 0.8656 MB / 479.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.1312, allocations: 135.9 kB / 479.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1313, allocations: 0 / 479.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1314, allocations: 75.84 kB / 479.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1316, allocations: 15.94 kB / 479.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.134, allocations: 2.075 MB / 481.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1343, allocations: 0.7437 MB / 482.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1345, allocations: 21.41 kB / 482.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1346, allocations: 63.42 kB / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1346, allocations: 0 / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1495, allocations: 2.491 MB / 484.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.1497, allocations: 192.7 kB / 484.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.907, allocations: 0 / 484.9 MB, free: 14.01 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches