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.00164/0.00164, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001889/0.001889, allocations: 197 kB / 21.43 MB, free: 1.609 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.548/1.548, allocations: 225.6 MB / 249.8 MB, free: 3.598 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 47.92 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.122, allocations: 52.14 MB / 418.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00323/0.1252, allocations: 1.647 MB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1265, allocations: 0.6427 MB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.1266, allocations: 11.94 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1269, allocations: 51.77 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1271, allocations: 35.73 kB / 420.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1284, allocations: 0.5987 MB / 421.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.1286, allocations: 123.6 kB / 421.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1288, allocations: 17.12 kB / 421.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1289, allocations: 67.7 kB / 421.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1291, allocations: 83.66 kB / 421.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.1291, allocations: 8 kB / 421.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.1294, allocations: 131.8 kB / 421.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.1294, allocations: 39.89 kB / 421.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.1295, allocations: 55.59 kB / 422 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.1299, allocations: 219.2 kB / 422.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1299, allocations: 7.984 kB / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1299, allocations: 0 / 422.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1299, allocations: 0 / 422.2 MB, free: 8.898 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.001764/0.1317, allocations: 0.5493 MB / 422.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1317, allocations: 12.03 kB / 422.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.558e-05/0.1317, allocations: 4.188 kB / 422.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.1318, allocations: 46.73 kB / 422.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.1332, allocations: 176.6 kB / 423 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1335, allocations: 222 kB / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1335, allocations: 4.375 kB / 423.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1335, allocations: 16.31 kB / 423.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.134, allocations: 177.5 kB / 423.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.134, allocations: 0 / 423.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.134, allocations: 4 kB / 423.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.134, allocations: 11.92 kB / 423.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1345, allocations: 168.5 kB / 423.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1355, allocations: 0.5276 MB / 424.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.1359, allocations: 158.5 kB / 424.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1361, allocations: 88.8 kB / 424.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.1362, allocations: 11.94 kB / 424.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/0.1363, allocations: 34.75 kB / 424.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.337e-06/0.1363, allocations: 3.984 kB / 424.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007595/0.137, allocations: 257.4 kB / 424.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1371, allocations: 59.41 kB / 424.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1373, allocations: 186.4 kB / 424.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1373, allocations: 25.7 kB / 424.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.1374, allocations: 116.2 kB / 425 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.1374, allocations: 43.64 kB / 425 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.1375, allocations: 37.69 kB / 425.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1377, allocations: 322.8 kB / 425.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1379, allocations: 67.95 kB / 425.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1381, allocations: 94.39 kB / 425.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.1385, allocations: 173.3 kB / 425.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1385, allocations: 0 / 425.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005199/0.139, allocations: 217.4 kB / 425.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1391, allocations: 8 kB / 425.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1391, allocations: 0 / 425.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1391, allocations: 0 / 425.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1393, allocations: 43.91 kB / 426 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1393, allocations: 0 / 426 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1395, allocations: 19.88 kB / 426 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1395, allocations: 8.062 kB / 426 MB, free: 4.812 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.0001324/0.1396, allocations: 133.8 kB / 426.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.1397, allocations: 19.84 kB / 426.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.1403, allocations: 248.9 kB / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1403, allocations: 0 / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1403, allocations: 4 kB / 426.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.1403, allocations: 7.984 kB / 426.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1407, allocations: 269.5 kB / 426.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1407, allocations: 3.938 kB / 426.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.1409, allocations: 39.97 kB / 426.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1409, allocations: 0 / 426.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1409, allocations: 11.92 kB / 426.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1409, allocations: 0 / 426.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1409, allocations: 0 / 426.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.1415, allocations: 321.4 kB / 427 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.1416, allocations: 100.9 kB / 427.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1416, allocations: 4 kB / 427.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1418, allocations: 11.98 kB / 427.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1418, allocations: 11.98 kB / 427.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.1419, allocations: 11.98 kB / 427.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.142, allocations: 140.2 kB / 427.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.142, allocations: 0 / 427.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1423, allocations: 35.95 kB / 427.4 MB, free: 3.363 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.0009325/0.1432, allocations: 0.8645 MB / 428.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.1437, allocations: 167.7 kB / 428.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1437, allocations: 0 / 428.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.1439, allocations: 94.38 kB / 428.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1442, allocations: 19.94 kB / 428.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.1472, allocations: 2.132 MB / 430.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1476, allocations: 0.7319 MB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1477, allocations: 37.39 kB / 431.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1479, allocations: 55.41 kB / 431.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1479, allocations: 3.938 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.1699, allocations: 3.863 MB / 435.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.291, allocations: 17.75 kB / 435.3 MB, free: 11.37 MB / 366.1 MB " [Timeout remaining time 652] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.109237703029066]