Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.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.001236/0.001236, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009096/0.0009096, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9029/0.9029, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.394e-05, allocations: 4.25 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.171/0.171, allocations: 2.032 MB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.173, allocations: 1.275 MB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1731, allocations: 3.688 kB / 445.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.494e-05/0.1732, allocations: 26.2 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1733, allocations: 42.22 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.1738, allocations: 201.2 kB / 445.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.174, allocations: 178.3 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1742, allocations: 80.58 kB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.1744, allocations: 124.9 kB / 446.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.1745, allocations: 61.86 kB / 446.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1745, allocations: 17.53 kB / 446.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.1747, allocations: 150 kB / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.1748, allocations: 44.48 kB / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.1748, allocations: 69.53 kB / 446.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1751, allocations: 330.5 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1751, allocations: 2.344 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1751, allocations: 0 / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1751, allocations: 3.469 kB / 446.8 MB, free: 42.42 MB / 410.7 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.0004136/0.1755, allocations: 459.4 kB / 447.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1755, allocations: 11.31 kB / 447.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.509e-05/0.1756, allocations: 89.81 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.1762, allocations: 87.69 kB / 447.4 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1764, allocations: 160.2 kB / 447.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1764, allocations: 20.38 kB / 447.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1765, allocations: 34.25 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.1768, allocations: 232.5 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1768, allocations: 192 / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1768, allocations: 14.69 kB / 447.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1768, allocations: 5.656 kB / 447.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.177, allocations: 166.4 kB / 448.1 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.1776, allocations: 0.5636 MB / 448.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.1779, allocations: 219.3 kB / 448.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.178, allocations: 58.25 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.178, allocations: 3.359 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.178, allocations: 40.95 kB / 448.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.178, allocations: 0 / 448.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003282/0.1783, allocations: 220.3 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1784, allocations: 54.28 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.1784, allocations: 106.7 kB / 449.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1784, allocations: 28.61 kB / 449.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1785, allocations: 157.5 kB / 449.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.1785, allocations: 86.77 kB / 449.6 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1786, allocations: 42.89 kB / 449.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1786, allocations: 324.8 kB / 449.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.1787, allocations: 44.39 kB / 450 MB, free: 40.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.1787, allocations: 51.39 kB / 450 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1788, allocations: 111.5 kB / 450.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1789, allocations: 4 kB / 450.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000147/0.179, allocations: 172.8 kB / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.179, allocations: 5.844 kB / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.179, allocations: 0 / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.179, allocations: 0 / 450.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1792, allocations: 97.23 kB / 450.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1792, allocations: 15.06 kB / 450.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.1793, allocations: 22.64 kB / 450.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1793, allocations: 5.688 kB / 450.4 MB, free: 40.09 MB / 410.7 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 5.989e-05/0.1793, allocations: 123.8 kB / 450.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.1793, allocations: 13.56 kB / 450.6 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1794, allocations: 25 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1794, allocations: 8.859 kB / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1794, allocations: 0 / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1794, allocations: 0 / 450.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1796, allocations: 253.3 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1796, allocations: 4 kB / 450.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1797, allocations: 97.31 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1797, allocations: 2.156 kB / 451 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1797, allocations: 8.094 kB / 451 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1797, allocations: 0 / 451 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1797, allocations: 0 / 451 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1799, allocations: 283.9 kB / 451.2 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1799, allocations: 14.59 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.18, allocations: 6.75 kB / 451.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.18, allocations: 6.781 kB / 451.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.18, allocations: 15.09 kB / 451.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.18, allocations: 9.469 kB / 451.3 MB, free: 39.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.1801, allocations: 89.06 kB / 451.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1801, allocations: 0 / 451.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.1802, allocations: 60.62 kB / 451.4 MB, free: 39.41 MB / 410.7 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.0003936/0.1806, allocations: 0.8746 MB / 452.3 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1808, allocations: 125 kB / 452.4 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.1808, allocations: 2.844 kB / 452.4 MB, free: 38.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.1809, allocations: 65.2 kB / 452.5 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.181, allocations: 14.75 kB / 452.5 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1823, allocations: 1.95 MB / 454.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.1824, allocations: 129.8 kB / 454.6 MB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.397e-05/0.1824, allocations: 23.48 kB / 454.6 MB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.1825, allocations: 66.92 kB / 454.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1825, allocations: 0 / 454.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1981, allocations: 3.343 MB / 458 MB, free: 35.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.13, allocations: 9.906 kB / 458 MB, free: 35.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.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: 9.314797065220773]