Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 117.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 53.32 MB / 426.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003218/0.1237, allocations: 1.71 MB / 428.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1252, allocations: 0.771 MB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1253, allocations: 0 / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1256, allocations: 59.7 kB / 429.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1258, allocations: 35.73 kB / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1268, allocations: 0.5019 MB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.1271, allocations: 123.6 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1272, allocations: 25.53 kB / 429.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1273, allocations: 59.72 kB / 429.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1275, allocations: 87.66 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1275, allocations: 8 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.1278, allocations: 131.8 kB / 430.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.1279, allocations: 39.83 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1279, allocations: 51.67 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.1283, allocations: 211.1 kB / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1283, allocations: 0 / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1283, allocations: 0 / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1283, allocations: 4 kB / 430.4 MB, free: 1.176 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0014/0.1297, allocations: 0.5258 MB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1297, allocations: 8.031 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1298, allocations: 46.73 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.1304, allocations: 108.7 kB / 431.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1307, allocations: 200.1 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1307, allocations: 4.375 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1307, allocations: 12.38 kB / 431.3 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.1311, allocations: 165.7 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1311, allocations: 0 / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1311, allocations: 0 / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.1311, allocations: 15.94 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.1315, allocations: 159.9 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1326, allocations: 0.5588 MB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.133, allocations: 146.5 kB / 432.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1332, allocations: 64.81 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1332, allocations: 4 kB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1333, allocations: 30.56 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1333, allocations: 0 / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006454/0.1339, allocations: 217.6 kB / 432.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.134, allocations: 51.41 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.1342, allocations: 210.7 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1342, allocations: 29.7 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1343, allocations: 124.1 kB / 433.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1343, allocations: 31.7 kB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.715e-05/0.1344, allocations: 29.7 kB / 433.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1346, allocations: 330.8 kB / 433.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1348, allocations: 51.95 kB / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1349, allocations: 96.23 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1353, allocations: 156.1 kB / 433.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1353, allocations: 0 / 433.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004414/0.1357, allocations: 205.7 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1358, allocations: 8 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1358, allocations: 0 / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1358, allocations: 0 / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.136, allocations: 27.98 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.136, allocations: 7.922 kB / 434 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1361, allocations: 19.89 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1361, allocations: 4 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.0001362/0.1363, allocations: 141.8 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1363, allocations: 19.86 kB / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.1368, allocations: 190.8 kB / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1368, allocations: 0 / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1368, allocations: 4 kB / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1368, allocations: 0 / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1371, allocations: 249.5 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1371, allocations: 0 / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1373, allocations: 31.97 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1373, allocations: 0 / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1373, allocations: 4 kB / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1373, allocations: 0 / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1373, allocations: 0 / 434.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.1377, allocations: 271.2 kB / 434.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1379, allocations: 105 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1379, allocations: 4 kB / 435 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.138, allocations: 11.98 kB / 435 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1381, allocations: 7.984 kB / 435.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1381, allocations: 8 kB / 435.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1382, allocations: 156.8 kB / 435.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1382, allocations: 0 / 435.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1385, allocations: 31.89 kB / 435.2 MB, free: 11.99 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 (11): * Single equations (assignments): 11 * 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.0007936/0.1393, allocations: 0.8024 MB / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.1397, allocations: 143.7 kB / 436.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1397, allocations: 0 / 436.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1399, allocations: 63.95 kB / 436.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1402, allocations: 12.22 kB / 436.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.1431, allocations: 2.154 MB / 438.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1435, allocations: 0.7201 MB / 439.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1436, allocations: 33.41 kB / 439.2 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.1437, allocations: 43.42 kB / 439.2 MB, free: 7.871 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1437, allocations: 3.938 kB / 439.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.1797, allocations: 3.465 MB / 442.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.332, allocations: 12.05 kB / 442.7 MB, free: 4.484 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.907562349922955]