Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001448/0.001448, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001705/0.001705, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 372.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 53.32 MB / 426.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003799/0.133, allocations: 1.527 MB / 427.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1342, allocations: 0.5336 MB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.1343, allocations: 0 / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1344, allocations: 23.86 kB / 428.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1345, allocations: 11.86 kB / 428.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1347, allocations: 35.91 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1349, allocations: 55.91 kB / 428.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.135, allocations: 15.98 kB / 428.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.1352, allocations: 43.78 kB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.1353, allocations: 27.91 kB / 428.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1353, allocations: 4 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.1353, allocations: 20 kB / 428.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1354, allocations: 11.92 kB / 428.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.1354, allocations: 23.88 kB / 428.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1356, allocations: 83.59 kB / 428.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1356, allocations: 0 / 428.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1356, allocations: 0 / 428.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1356, allocations: 4 kB / 428.7 MB, free: 2.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000771/0.1364, allocations: 383.2 kB / 429.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1364, allocations: 8.031 kB / 429.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.1365, allocations: 42.73 kB / 429.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1365, allocations: 4.891 kB / 429.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1367, allocations: 168.4 kB / 429.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1367, allocations: 8.312 kB / 429.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1367, allocations: 4.375 kB / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.137, allocations: 85.77 kB / 429.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.137, allocations: 0 / 429.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1371, allocations: 8 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1371, allocations: 0 / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.1374, allocations: 79.91 kB / 429.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1379, allocations: 312.6 kB / 429.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1382, allocations: 66.53 kB / 429.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1384, allocations: 44.94 kB / 429.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1384, allocations: 8 kB / 429.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1385, allocations: 34.59 kB / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1385, allocations: 0 / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006495/0.1391, allocations: 153.5 kB / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1392, allocations: 59.41 kB / 430.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1393, allocations: 113.8 kB / 430.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1393, allocations: 25.7 kB / 430.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.1394, allocations: 92.09 kB / 430.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1394, allocations: 23.83 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1394, allocations: 13.72 kB / 430.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1396, allocations: 322.8 kB / 430.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1398, allocations: 35.97 kB / 430.7 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1399, allocations: 43.89 kB / 430.8 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.1402, allocations: 81.17 kB / 430.9 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1402, allocations: 3.984 kB / 430.9 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003894/0.1406, allocations: 113.6 kB / 431 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1406, allocations: 8 kB / 431 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1406, allocations: 0 / 431 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1407, allocations: 0 / 431 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1408, allocations: 15.98 kB / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1408, allocations: 0 / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.1409, allocations: 27.91 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1409, allocations: 3.938 kB / 431 MB, free: 15.85 MB / 366.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 (5): * Single equations (assignments): 5 * 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 9.68e-05/0.141, allocations: 113.8 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1411, allocations: 4 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.1415, allocations: 129.5 kB / 431.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.1415, allocations: 11.98 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1415, allocations: 0 / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1415, allocations: 0 / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.1418, allocations: 185.5 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1418, allocations: 4 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1419, allocations: 23.91 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1419, allocations: 4 kB / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1419, allocations: 0 / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1419, allocations: 0 / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1419, allocations: 0 / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.1424, allocations: 223.5 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1424, allocations: 85.06 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1424, allocations: 3.938 kB / 431.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1425, allocations: 11.98 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.1426, allocations: 19.97 kB / 431.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1426, allocations: 0 / 431.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.1427, allocations: 95.53 kB / 431.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1427, allocations: 0 / 431.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1429, allocations: 11.94 kB / 431.9 MB, free: 14.84 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0008019/0.1437, allocations: 0.7553 MB / 432.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.1441, allocations: 83.98 kB / 432.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1441, allocations: 3.938 kB / 432.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1443, allocations: 47.95 kB / 432.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1446, allocations: 12.12 kB / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.1452, allocations: 195.6 kB / 433 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1455, allocations: 0.6846 MB / 433.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.874e-05/0.1456, allocations: 7.984 kB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.1456, allocations: 19.44 kB / 433.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1456, allocations: 0 / 433.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.1736, allocations: 2.029 MB / 435.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.41, allocations: 12.05 kB / 435.8 MB, free: 11 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 11.364557288994547]