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.001745/0.001745, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002096/0.002096, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.398/1.398, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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="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.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.001943/0.001943, allocations: 51.94 kB / 347.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00276/0.3355, allocations: 1.605 MB / 397.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3368, allocations: 0.7053 MB / 398.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3368, allocations: 1.406 kB / 398.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.3371, allocations: 49.11 kB / 398.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.3373, allocations: 36.03 kB / 398.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3384, allocations: 0.6325 MB / 399.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3387, allocations: 112.2 kB / 399.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3388, allocations: 23.94 kB / 399.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3389, allocations: 68.28 kB / 399.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3391, allocations: 74.59 kB / 399.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.3391, allocations: 9.531 kB / 399.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.3394, allocations: 149.8 kB / 399.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.3394, allocations: 39.11 kB / 399.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.3395, allocations: 51.56 kB / 399.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.3398, allocations: 237.2 kB / 400.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3398, allocations: 0 / 400.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3398, allocations: 0 / 400.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3398, allocations: 0 / 400.1 MB, free: 6.609 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.001596/0.3414, allocations: 0.4973 MB / 400.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3415, allocations: 13.36 kB / 400.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.3415, allocations: 53.77 kB / 400.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.343, allocations: 187.9 kB / 400.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3432, allocations: 150 kB / 401 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3432, allocations: 17.72 kB / 401 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3433, allocations: 5.344 kB / 401 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.3437, allocations: 179 kB / 401.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3437, allocations: 0 / 401.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3437, allocations: 9.188 kB / 401.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3437, allocations: 7.922 kB / 401.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3442, allocations: 166.4 kB / 401.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.3451, allocations: 0.5112 MB / 401.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.3455, allocations: 155 kB / 402 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3457, allocations: 97.25 kB / 402.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3457, allocations: 2.281 kB / 402.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3458, allocations: 40.44 kB / 402.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3458, allocations: 0 / 402.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007289/0.3465, allocations: 261.7 kB / 402.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3465, allocations: 58.22 kB / 402.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3467, allocations: 190.7 kB / 402.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3467, allocations: 25.7 kB / 402.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.3468, allocations: 115.4 kB / 402.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3468, allocations: 49.16 kB / 402.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.3469, allocations: 40.53 kB / 402.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.3469, allocations: 326.1 kB / 403.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.3471, allocations: 61.38 kB / 403.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.3473, allocations: 97.89 kB / 403.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.3476, allocations: 160.2 kB / 403.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3476, allocations: 0 / 403.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004458/0.3481, allocations: 219.4 kB / 403.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3481, allocations: 10.06 kB / 403.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.3481, allocations: 1.094 kB / 403.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3481, allocations: 1.156 kB / 403.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3483, allocations: 34.39 kB / 403.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3484, allocations: 2.234 kB / 403.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.3485, allocations: 17.7 kB / 403.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3485, allocations: 10.2 kB / 403.8 MB, free: 4.266 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 9.593e-05/0.3486, allocations: 134.5 kB / 403.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3487, allocations: 22.59 kB / 404 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.3492, allocations: 242.3 kB / 404.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3492, allocations: 1.344 kB / 404.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3492, allocations: 0 / 404.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3492, allocations: 5.156 kB / 404.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3495, allocations: 253.2 kB / 404.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3495, allocations: 0 / 404.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.3497, allocations: 44.45 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3497, allocations: 1.156 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3497, allocations: 4.141 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3497, allocations: 1.156 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3497, allocations: 0.5625 kB / 404.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.3503, allocations: 325.6 kB / 404.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.3503, allocations: 22.66 kB / 404.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3504, allocations: 5.797 kB / 404.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3505, allocations: 7.219 kB / 404.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.3506, allocations: 17.08 kB / 404.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3506, allocations: 9.266 kB / 404.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3507, allocations: 146.2 kB / 405 MB, free: 3.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 3.938 kB / 405 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.351, allocations: 30.31 kB / 405.1 MB, free: 3.449 MB / 318.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.0007262/0.3517, allocations: 0.8506 MB / 405.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004878/0.3522, allocations: 168.4 kB / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3522, allocations: 0 / 406.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3524, allocations: 94.55 kB / 406.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3527, allocations: 15.45 kB / 406.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.3556, allocations: 2.12 MB / 408.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3558, allocations: 0.7252 MB / 409 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3559, allocations: 35.98 kB / 409.1 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.356, allocations: 54.59 kB / 409.1 MB, free: 380 kB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.356, allocations: 0 / 409.1 MB, free: 380 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.39, allocations: 4.025 MB / 413.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 9.203 kB / 413.2 MB, free: 14.59 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable const.y.re in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.465243883998482]