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.001732/0.001732, allocations: 109.5 kB / 20.43 MB, free: 1.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.002195/0.002195, allocations: 181.7 kB / 23.72 MB, free: 4.699 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.528/1.528, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.001763/0.001763, allocations: 43.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3187, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00346/0.3221, allocations: 1.658 MB / 424.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3236, allocations: 0.662 MB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.3236, allocations: 0 / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.3239, allocations: 51.73 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.3241, allocations: 39.77 kB / 425 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3254, allocations: 0.6023 MB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3256, allocations: 115.6 kB / 425.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3257, allocations: 21.3 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3259, allocations: 63.77 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.326, allocations: 79.67 kB / 425.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3261, allocations: 8 kB / 425.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3263, allocations: 147.8 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.3264, allocations: 31.84 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.3265, allocations: 59.66 kB / 426.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3268, allocations: 215.6 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3268, allocations: 4 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3268, allocations: 0 / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3268, allocations: 4 kB / 426.3 MB, free: 10.82 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.001576/0.3284, allocations: 493.4 kB / 426.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3285, allocations: 12.03 kB / 426.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.3285, allocations: 54.67 kB / 426.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.3299, allocations: 164.6 kB / 427.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3301, allocations: 158.3 kB / 427.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.3302, allocations: 8.375 kB / 427.2 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3302, allocations: 16.38 kB / 427.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3307, allocations: 181.6 kB / 427.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3307, allocations: 0 / 427.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3307, allocations: 0 / 427.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.3307, allocations: 8 kB / 427.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3312, allocations: 163.9 kB / 427.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3322, allocations: 0.5033 MB / 428.1 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.3326, allocations: 158.4 kB / 428.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.3328, allocations: 84.8 kB / 428.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3328, allocations: 0 / 428.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.288e-05/0.3329, allocations: 42.5 kB / 428.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3329, allocations: 0 / 428.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007437/0.3337, allocations: 257.7 kB / 428.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3337, allocations: 59.39 kB / 428.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3339, allocations: 182.3 kB / 428.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3339, allocations: 33.64 kB / 428.9 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3341, allocations: 116.2 kB / 429 MB, free: 8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.3341, allocations: 47.58 kB / 429 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.3342, allocations: 29.7 kB / 429.1 MB, free: 7.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.3344, allocations: 330.8 kB / 429.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.3346, allocations: 67.95 kB / 429.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3348, allocations: 86.52 kB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.3352, allocations: 168.9 kB / 429.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3352, allocations: 0 / 429.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004661/0.3356, allocations: 217.3 kB / 429.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3357, allocations: 12.06 kB / 429.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3357, allocations: 0 / 429.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3357, allocations: 4 kB / 429.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3359, allocations: 39.89 kB / 430 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3359, allocations: 4 kB / 430 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3361, allocations: 23.88 kB / 430 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3361, allocations: 4 kB / 430 MB, free: 6.949 MB / 334.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.0001403/0.3362, allocations: 133.7 kB / 430.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3363, allocations: 23.84 kB / 430.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.3369, allocations: 246.9 kB / 430.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3369, allocations: 0 / 430.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3369, allocations: 0 / 430.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3369, allocations: 0 / 430.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3372, allocations: 248.5 kB / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3372, allocations: 0 / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.3374, allocations: 47.83 kB / 430.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3374, allocations: 4 kB / 430.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3375, allocations: 4 kB / 430.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3375, allocations: 4 kB / 430.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3375, allocations: 0 / 430.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.338, allocations: 310.2 kB / 431 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.338, allocations: 31.77 kB / 431 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3381, allocations: 4 kB / 431 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3382, allocations: 11.94 kB / 431.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3383, allocations: 15.97 kB / 431.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3383, allocations: 7.984 kB / 431.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.3385, allocations: 148.2 kB / 431.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 431.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.3388, allocations: 31.95 kB / 431.3 MB, free: 5.625 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.0009425/0.3397, allocations: 0.8489 MB / 432.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.3402, allocations: 179.8 kB / 432.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3402, allocations: 0 / 432.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3404, allocations: 87.88 kB / 432.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3407, allocations: 19.98 kB / 432.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3439, allocations: 2.139 MB / 434.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.3444, allocations: 0.724 MB / 435.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.3445, allocations: 29.41 kB / 435.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3447, allocations: 59.41 kB / 435.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3447, allocations: 0 / 435.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.3795, allocations: 4.021 MB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 10.75 kB / 439.4 MB, free: 13.51 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.161588812014088]