Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001748/0.001748, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002067/0.002067, allocations: 200.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 53.32 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004231/0.1171, allocations: 1.718 MB / 428 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1188, allocations: 0.7672 MB / 428.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1189, allocations: 0 / 428.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1192, allocations: 55.72 kB / 428.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1194, allocations: 47.64 kB / 428.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1206, allocations: 0.4942 MB / 429.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.121, allocations: 123.6 kB / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.1211, allocations: 25.53 kB / 429.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1213, allocations: 59.72 kB / 429.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1216, allocations: 95.58 kB / 429.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1216, allocations: 12 kB / 429.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.122, allocations: 127.8 kB / 429.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.1221, allocations: 23.92 kB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.1222, allocations: 63.59 kB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.1226, allocations: 211.1 kB / 430.1 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.1226, allocations: 4 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1226, allocations: 0 / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1227, allocations: 0 / 430.1 MB, free: 0.9961 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.001576/0.1242, allocations: 0.5258 MB / 430.6 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1243, allocations: 12.03 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.1243, allocations: 46.73 kB / 430.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007414/0.1251, allocations: 104.7 kB / 430.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2168/0.3419, allocations: 222.7 kB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.3419, allocations: 4.281 kB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.342, allocations: 10.78 kB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.3425, allocations: 159.3 kB / 431.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3425, allocations: 0 / 431.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3426, allocations: 5.312 kB / 431.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.3426, allocations: 5.656 kB / 431.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.343, allocations: 161.2 kB / 431.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3441, allocations: 0.5597 MB / 431.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.3446, allocations: 138.5 kB / 432 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3447, allocations: 64.77 kB / 432.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.3448, allocations: 1.656 kB / 432.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3448, allocations: 35.33 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3448, allocations: 0.7812 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006354/0.3454, allocations: 216 kB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.3455, allocations: 53.19 kB / 432.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3456, allocations: 210.1 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3457, allocations: 31.3 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3457, allocations: 122.4 kB / 432.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3457, allocations: 42.7 kB / 432.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.3458, allocations: 28.91 kB / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.3459, allocations: 326.1 kB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.346, allocations: 61.22 kB / 433.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3462, allocations: 87.48 kB / 433.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.3465, allocations: 156.6 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3465, allocations: 3.812 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003939/0.3469, allocations: 192.9 kB / 433.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3469, allocations: 5.688 kB / 433.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3469, allocations: 2.219 kB / 433.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3469, allocations: 1.125 kB / 433.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3471, allocations: 30.94 kB / 433.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3471, allocations: 10.09 kB / 433.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3472, allocations: 21.48 kB / 433.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3473, allocations: 10.92 kB / 433.7 MB, free: 10.29 MB / 350.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 9.482e-05/0.3474, allocations: 125.3 kB / 433.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3474, allocations: 16.08 kB / 433.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.3479, allocations: 187.8 kB / 434 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3479, allocations: 10.06 kB / 434 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3479, allocations: 3.938 kB / 434 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3479, allocations: 1.25 kB / 434 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3481, allocations: 248.6 kB / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3482, allocations: 1.219 kB / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3483, allocations: 23.78 kB / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3483, allocations: 0 / 434.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3483, allocations: 5.281 kB / 434.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3483, allocations: 4.469 kB / 434.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3483, allocations: 3.938 kB / 434.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3488, allocations: 267.5 kB / 434.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.3488, allocations: 105 kB / 434.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3489, allocations: 5.469 kB / 434.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.349, allocations: 6.594 kB / 434.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.349, allocations: 18.3 kB / 434.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3491, allocations: 6.281 kB / 434.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3492, allocations: 159.4 kB / 434.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3492, allocations: 0 / 434.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3495, allocations: 25.72 kB / 434.9 MB, free: 9.445 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 (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.0006072/0.3501, allocations: 0.8042 MB / 435.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3505, allocations: 137.4 kB / 435.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3505, allocations: 0 / 435.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3507, allocations: 61.25 kB / 435.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.351, allocations: 21.11 kB / 435.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.3535, allocations: 2.145 MB / 438.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3537, allocations: 0.7241 MB / 438.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3538, allocations: 34.95 kB / 438.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.3539, allocations: 45.23 kB / 438.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3539, allocations: 1.438 kB / 438.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.3851, allocations: 3.476 MB / 442.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.678, allocations: 12.28 kB / 442.4 MB, free: 5.926 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.192976981867105]