Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 111.8 kB / 17.73 MB, free: 5.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.002289, allocations: 185.3 kB / 20.68 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 246.4 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.91 kB / 357.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1151, allocations: 49.44 MB / 406.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002888/0.118, allocations: 1.626 MB / 408.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1192, allocations: 0.6504 MB / 409.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1193, allocations: 4 kB / 409.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.1196, allocations: 47.72 kB / 409.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1198, allocations: 27.8 kB / 409.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.121, allocations: 0.6069 MB / 409.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1212, allocations: 111.7 kB / 410 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1214, allocations: 33.09 kB / 410 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1215, allocations: 63.7 kB / 410.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1217, allocations: 75.73 kB / 410.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1218, allocations: 12 kB / 410.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.122, allocations: 131.8 kB / 410.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.1221, allocations: 39.83 kB / 410.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.1222, allocations: 55.67 kB / 410.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1225, allocations: 223.4 kB / 410.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1225, allocations: 0 / 410.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1225, allocations: 0 / 410.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1225, allocations: 0 / 410.6 MB, free: 3.637 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001596/0.1241, allocations: 0.5588 MB / 411.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1242, allocations: 8.031 kB / 411.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.1243, allocations: 46.73 kB / 411.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.1256, allocations: 176.6 kB / 411.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1258, allocations: 192.1 kB / 411.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1258, allocations: 12.38 kB / 411.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1259, allocations: 8.375 kB / 411.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1263, allocations: 184.5 kB / 411.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1263, allocations: 4 kB / 411.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1263, allocations: 0 / 411.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.1263, allocations: 15.94 kB / 411.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.1268, allocations: 155.9 kB / 411.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009753/0.1278, allocations: 0.5432 MB / 412.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.1282, allocations: 162.5 kB / 412.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.1284, allocations: 88.8 kB / 412.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1284, allocations: 11.92 kB / 412.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1285, allocations: 46.67 kB / 412.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1285, allocations: 0 / 412.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007319/0.1292, allocations: 264.3 kB / 413 MB, free: 1.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1293, allocations: 55.41 kB / 413.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1295, allocations: 186.4 kB / 413.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1295, allocations: 25.7 kB / 413.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1296, allocations: 112.3 kB / 413.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.1296, allocations: 55.56 kB / 413.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1297, allocations: 29.7 kB / 413.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1298, allocations: 326.8 kB / 413.8 MB, free: 196 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.13, allocations: 71.94 kB / 413.9 MB, free: 124 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1303, allocations: 88.86 kB / 414 MB, free: 28 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.1307, allocations: 170.5 kB / 414.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1307, allocations: 0 / 414.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004877/0.1312, allocations: 213.4 kB / 414.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1312, allocations: 8 kB / 414.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1312, allocations: 0 / 414.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1312, allocations: 0 / 414.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1315, allocations: 43.97 kB / 414.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1315, allocations: 4 kB / 414.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1317, allocations: 19.88 kB / 414.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1317, allocations: 7.984 kB / 414.4 MB, free: 15.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001199/0.1318, allocations: 125.8 kB / 414.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1319, allocations: 19.84 kB / 414.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.1325, allocations: 254.9 kB / 414.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1325, allocations: 0 / 414.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1325, allocations: 0 / 414.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1325, allocations: 0 / 414.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.1329, allocations: 277.4 kB / 415.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1329, allocations: 0 / 415.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.1331, allocations: 43.91 kB / 415.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.1331, allocations: 0 / 415.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1332, allocations: 11.86 kB / 415.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1332, allocations: 4 kB / 415.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1332, allocations: 4 kB / 415.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.1338, allocations: 317.3 kB / 415.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.1339, allocations: 96.95 kB / 415.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1339, allocations: 4 kB / 415.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1341, allocations: 11.98 kB / 415.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.1341, allocations: 15.98 kB / 415.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1342, allocations: 11.98 kB / 415.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1343, allocations: 140.2 kB / 415.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1343, allocations: 0 / 415.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1346, allocations: 35.89 kB / 415.8 MB, free: 14.11 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 (18): * Single equations (assignments): 18 * 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.0009428/0.1355, allocations: 0.8663 MB / 416.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.136, allocations: 175 kB / 416.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1361, allocations: 0 / 416.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.1363, allocations: 108 kB / 416.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1366, allocations: 15.98 kB / 416.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.1395, allocations: 2.131 MB / 419.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1399, allocations: 0.7241 MB / 419.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.1401, allocations: 37.39 kB / 419.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1402, allocations: 55.41 kB / 419.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1402, allocations: 0 / 419.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1658, allocations: 3.798 MB / 423.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.758, allocations: 15.78 kB / 423.7 MB, free: 6.152 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.478244051104411]