Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.001728/0.001728, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001946/0.001946, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 207.6 MB / 232.5 MB, free: 3.965 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 51.92 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1187, allocations: 49.13 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.0035/0.1222, allocations: 1.589 MB / 393.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1236, allocations: 0.7017 MB / 394.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.1237, allocations: 4 kB / 394.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1239, allocations: 47.72 kB / 394.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.1241, allocations: 35.78 kB / 394.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1254, allocations: 0.642 MB / 395.1 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1256, allocations: 115.7 kB / 395.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1257, allocations: 21.05 kB / 395.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1259, allocations: 63.7 kB / 395.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.126, allocations: 75.67 kB / 395.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1261, allocations: 8 kB / 395.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.1263, allocations: 151.8 kB / 395.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.1264, allocations: 39.89 kB / 395.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1264, allocations: 55.67 kB / 395.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.1268, allocations: 219.2 kB / 395.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1268, allocations: 0 / 395.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1268, allocations: 3.984 kB / 395.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1268, allocations: 0 / 395.9 MB, free: 4.941 MB / 318.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.001844/0.1286, allocations: 0.5727 MB / 396.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.1287, allocations: 11.97 kB / 396.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.924e-05/0.1287, allocations: 8.047 kB / 396.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1288, allocations: 42.73 kB / 396.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.1303, allocations: 188.6 kB / 396.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1307, allocations: 212.2 kB / 396.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1307, allocations: 12.31 kB / 396.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1307, allocations: 12.38 kB / 396.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1312, allocations: 177.4 kB / 397.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1312, allocations: 0 / 397.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1312, allocations: 7.984 kB / 397.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.1313, allocations: 4 kB / 397.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.1317, allocations: 175.8 kB / 397.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1328, allocations: 0.5352 MB / 397.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.1332, allocations: 154.4 kB / 397.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.1334, allocations: 92.8 kB / 398 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1335, allocations: 7.938 kB / 398 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1335, allocations: 34.56 kB / 398.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1335, allocations: 0 / 398.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007675/0.1343, allocations: 261.7 kB / 398.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1343, allocations: 59.34 kB / 398.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1345, allocations: 186.6 kB / 398.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1346, allocations: 29.7 kB / 398.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1347, allocations: 116.2 kB / 398.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1347, allocations: 47.58 kB / 398.8 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.1348, allocations: 37.69 kB / 398.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.135, allocations: 326.8 kB / 399.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1352, allocations: 67.95 kB / 399.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1354, allocations: 86.52 kB / 399.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.1358, allocations: 166.4 kB / 399.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1358, allocations: 4 kB / 399.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005218/0.1363, allocations: 221.9 kB / 399.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1364, allocations: 4 kB / 399.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1364, allocations: 3.984 kB / 399.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1364, allocations: 4 kB / 399.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1366, allocations: 31.97 kB / 399.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1366, allocations: 0 / 399.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1368, allocations: 27.94 kB / 399.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1368, allocations: 7.938 kB / 399.7 MB, free: 0.8086 MB / 318.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.0001407/0.137, allocations: 129.8 kB / 399.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.137, allocations: 23.84 kB / 399.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.1376, allocations: 250.9 kB / 400.1 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1376, allocations: 4 kB / 400.1 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1376, allocations: 0 / 400.1 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1377, allocations: 7.984 kB / 400.1 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.138, allocations: 269.5 kB / 400.4 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.138, allocations: 3.938 kB / 400.4 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1382, allocations: 39.91 kB / 400.4 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1382, allocations: 0 / 400.4 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1383, allocations: 8 kB / 400.4 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1383, allocations: 0 / 400.4 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1383, allocations: 0 / 400.4 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.1389, allocations: 319.2 kB / 400.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1389, allocations: 104.9 kB / 400.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.139, allocations: 0 / 400.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.1391, allocations: 11.98 kB / 400.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1392, allocations: 15.92 kB / 400.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1392, allocations: 15.98 kB / 400.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1393, allocations: 144.2 kB / 401 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1393, allocations: 0 / 401 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1396, allocations: 28 kB / 401.1 MB, free: 15.36 MB / 334.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.0009633/0.1406, allocations: 0.8605 MB / 401.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.1411, allocations: 167.8 kB / 402.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1411, allocations: 0 / 402.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.1413, allocations: 96.22 kB / 402.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1416, allocations: 20.55 kB / 402.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1447, allocations: 2.132 MB / 404.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1451, allocations: 0.7319 MB / 405.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1453, allocations: 37.39 kB / 405.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1454, allocations: 47.41 kB / 405.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1454, allocations: 0 / 405.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.1693, allocations: 3.865 MB / 409 MB, free: 7.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.638, allocations: 19.89 kB / 409 MB, free: 7.191 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.225283059990034]