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.001155/0.001155, allocations: 103.6 kB / 17.63 MB, free: 5.344 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.00122/0.00122, allocations: 192 kB / 18.56 MB, free: 4.434 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2241/0.2241, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 65.25 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003556/0.1186, allocations: 2.091 MB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1207, allocations: 1.309 MB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1209, allocations: 4 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.121, allocations: 23.67 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.1212, allocations: 31.72 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.1218, allocations: 187.3 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1221, allocations: 176.1 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.1223, allocations: 107.6 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1225, allocations: 71.66 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1227, allocations: 87.55 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1227, allocations: 23.98 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.1231, allocations: 147.9 kB / 473.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1232, allocations: 39.86 kB / 473.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.1233, allocations: 95.45 kB / 473.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.1238, allocations: 303.3 kB / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1239, allocations: 0 / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1239, allocations: 0 / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1239, allocations: 0 / 474 MB, free: 9.559 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.0007243/0.1246, allocations: 0.5227 MB / 474.5 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1247, allocations: 12.03 kB / 474.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.1248, allocations: 95 kB / 474.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.1258, allocations: 68.61 kB / 474.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.126, allocations: 192 kB / 474.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.126, allocations: 21.03 kB / 474.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.1261, allocations: 32.38 kB / 475 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.1265, allocations: 238.2 kB / 475.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1265, allocations: 3.938 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.1266, allocations: 12 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1266, allocations: 8 kB / 475.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.1269, allocations: 162.5 kB / 475.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.1279, allocations: 0.6555 MB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.1284, allocations: 225.3 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1286, allocations: 73.23 kB / 476.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1286, allocations: 240 / 476.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1287, allocations: 38.8 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.482e-06/0.1287, allocations: 4 kB / 476.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004747/0.1291, allocations: 215.8 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1292, allocations: 55.34 kB / 476.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.1293, allocations: 105.8 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1293, allocations: 29.7 kB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.1294, allocations: 152.2 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.1295, allocations: 86.73 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1295, allocations: 49.7 kB / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1296, allocations: 322.8 kB / 477.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1298, allocations: 47.89 kB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.1299, allocations: 39.98 kB / 477.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1301, allocations: 116.8 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1301, allocations: 0 / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002859/0.1304, allocations: 174.1 kB / 477.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1304, allocations: 12 kB / 477.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1304, allocations: 0 / 477.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1304, allocations: 0 / 477.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.1308, allocations: 103.8 kB / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1308, allocations: 256 / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.1309, allocations: 15.84 kB / 477.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1309, allocations: 12 kB / 477.9 MB, free: 5.484 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.0001147/0.1311, allocations: 129.8 kB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1311, allocations: 11.91 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.1312, allocations: 25.12 kB / 478 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1312, allocations: 7.938 kB / 478 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1312, allocations: 3.984 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1312, allocations: 0 / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1315, allocations: 277.4 kB / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1315, allocations: 0 / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1319, allocations: 107.9 kB / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1319, allocations: 0 / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1319, allocations: 8 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1319, allocations: 3.938 kB / 478.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1319, allocations: 3.938 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1323, allocations: 271.4 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.1323, allocations: 88.92 kB / 478.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1323, allocations: 8 kB / 478.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.1324, allocations: 11.92 kB / 478.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.1325, allocations: 15.98 kB / 478.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1325, allocations: 8 kB / 478.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.1326, allocations: 87.27 kB / 478.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1326, allocations: 0 / 478.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1329, allocations: 55.62 kB / 479 MB, free: 4.293 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.000739/0.1336, allocations: 0.8653 MB / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.134, allocations: 140.1 kB / 480 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.134, allocations: 4 kB / 480 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1341, allocations: 87.83 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1344, allocations: 15.94 kB / 480.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1364, allocations: 1.951 MB / 482 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1367, allocations: 0.7434 MB / 482.8 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1368, allocations: 13.42 kB / 482.8 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/0.1369, allocations: 67.41 kB / 482.8 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1369, allocations: 0 / 482.8 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.1614, allocations: 2.667 MB / 485.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.782, allocations: 1.031 kB / 485.5 MB, free: 13.66 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