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.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.001302/0.001302, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.001319/0.001319, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.486/1.486, allocations: 207.6 MB / 231.8 MB, free: 3.992 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.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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 51.92 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1211, allocations: 49.12 MB / 391.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002849/0.124, allocations: 1.594 MB / 392.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1252, allocations: 0.6958 MB / 393.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.1253, allocations: 4 kB / 393.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1255, allocations: 51.72 kB / 393.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1257, allocations: 39.72 kB / 393.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1269, allocations: 0.5992 MB / 394.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1271, allocations: 111.7 kB / 394.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1272, allocations: 33.05 kB / 394.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1273, allocations: 59.77 kB / 394.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1275, allocations: 83.61 kB / 394.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1275, allocations: 8 kB / 394.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1277, allocations: 135.9 kB / 394.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.1278, allocations: 31.84 kB / 394.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.1278, allocations: 59.66 kB / 394.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1282, allocations: 215.2 kB / 395 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1282, allocations: 0 / 395 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1282, allocations: 8 kB / 395.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1282, allocations: 0 / 395.1 MB, free: 5.023 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.001522/0.1297, allocations: 0.5648 MB / 395.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1297, allocations: 12.03 kB / 395.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.1298, allocations: 42.73 kB / 395.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.1311, allocations: 168.6 kB / 395.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1313, allocations: 188.2 kB / 396 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1313, allocations: 16.23 kB / 396 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1313, allocations: 12.38 kB / 396.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1317, allocations: 177.7 kB / 396.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1318, allocations: 0 / 396.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1318, allocations: 4 kB / 396.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.1318, allocations: 11.92 kB / 396.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1322, allocations: 179.8 kB / 396.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.1332, allocations: 0.543 MB / 397 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.1336, allocations: 150.5 kB / 397.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1338, allocations: 84.8 kB / 397.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1338, allocations: 8 kB / 397.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1338, allocations: 38.5 kB / 397.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1338, allocations: 0 / 397.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006832/0.1345, allocations: 261.6 kB / 397.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1346, allocations: 55.41 kB / 397.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1348, allocations: 186.6 kB / 397.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1348, allocations: 33.7 kB / 397.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1349, allocations: 108.3 kB / 397.9 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1349, allocations: 51.58 kB / 397.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.135, allocations: 37.69 kB / 398 MB, free: 1.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1351, allocations: 318.8 kB / 398.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.1353, allocations: 67.95 kB / 398.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1355, allocations: 90.52 kB / 398.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1358, allocations: 170.9 kB / 398.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1358, allocations: 0 / 398.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004681/0.1363, allocations: 221.4 kB / 398.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1363, allocations: 8 kB / 398.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1363, allocations: 0 / 398.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1363, allocations: 0 / 398.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1366, allocations: 39.91 kB / 398.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1366, allocations: 0 / 398.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1367, allocations: 23.88 kB / 398.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1367, allocations: 4 kB / 398.9 MB, free: 0.9492 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.0001156/0.1368, allocations: 129.9 kB / 399 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.1369, allocations: 19.84 kB / 399 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.1374, allocations: 254.8 kB / 399.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1374, allocations: 3.938 kB / 399.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1375, allocations: 0 / 399.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1375, allocations: 7.984 kB / 399.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1378, allocations: 277.4 kB / 399.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1378, allocations: 0 / 399.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.138, allocations: 43.91 kB / 399.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.138, allocations: 0 / 399.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.138, allocations: 7.984 kB / 399.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.138, allocations: 4 kB / 399.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.138, allocations: 0 / 399.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.1385, allocations: 323.2 kB / 399.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1386, allocations: 108.9 kB / 400 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1386, allocations: 0 / 400 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.1388, allocations: 11.98 kB / 400 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.1388, allocations: 11.98 kB / 400.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1388, allocations: 7.984 kB / 400.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.139, allocations: 144.2 kB / 400.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.139, allocations: 0 / 400.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1392, allocations: 28 kB / 400.2 MB, free: 15.49 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.0008402/0.1401, allocations: 0.8527 MB / 401.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.1405, allocations: 183.7 kB / 401.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1405, allocations: 0 / 401.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.1407, allocations: 88.34 kB / 401.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.141, allocations: 20.27 kB / 401.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.1438, allocations: 2.116 MB / 403.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1441, allocations: 0.728 MB / 404.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1442, allocations: 33.41 kB / 404.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1444, allocations: 51.41 kB / 404.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1444, allocations: 0 / 404.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1715, allocations: 3.831 MB / 408.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.382, allocations: 11.84 kB / 408.1 MB, free: 7.383 MB / 334.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.746322927065194]