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.006838/0.006838, allocations: 113 kB / 21.97 MB, free: 5.25 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.001736/0.001736, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.465/1.465, allocations: 207.6 MB / 236 MB, free: 9.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",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.00186/0.00186, allocations: 55.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2766, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002481/0.279, allocations: 1.604 MB / 398.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2801, allocations: 0.697 MB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.2801, allocations: 2.219 kB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.2804, allocations: 53.36 kB / 399.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.2805, allocations: 31.75 kB / 399.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2815, allocations: 0.6434 MB / 400.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.2817, allocations: 114.5 kB / 400.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2818, allocations: 18.47 kB / 400.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.282, allocations: 67.56 kB / 400.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2821, allocations: 75.84 kB / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2821, allocations: 8.938 kB / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2823, allocations: 149.9 kB / 400.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.2824, allocations: 35.84 kB / 400.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.2824, allocations: 59.03 kB / 400.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.2828, allocations: 223.8 kB / 400.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2828, allocations: 4 kB / 400.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2828, allocations: 0.8438 kB / 400.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2828, allocations: 0.7031 kB / 400.9 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.001479/0.2842, allocations: 0.4962 MB / 401.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2843, allocations: 13.61 kB / 401.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.609e-05/0.2843, allocations: 11.61 kB / 401.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.2843, allocations: 49.3 kB / 401.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.2858, allocations: 188.3 kB / 401.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.286, allocations: 153.8 kB / 401.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.286, allocations: 8.625 kB / 401.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.286, allocations: 11.22 kB / 401.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.2864, allocations: 178.3 kB / 402 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2864, allocations: 0 / 402 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2864, allocations: 1.375 kB / 402 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.2864, allocations: 10.27 kB / 402 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.2868, allocations: 162.8 kB / 402.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.2877, allocations: 0.5178 MB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.288, allocations: 161.6 kB / 402.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2882, allocations: 92.88 kB / 402.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2883, allocations: 6.281 kB / 402.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.2883, allocations: 32.66 kB / 403 MB, free: 5.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2883, allocations: 0 / 403 MB, free: 5.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00067/0.2889, allocations: 261.5 kB / 403.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.289, allocations: 52.75 kB / 403.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2891, allocations: 191.6 kB / 403.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2891, allocations: 30.98 kB / 403.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.2892, allocations: 110 kB / 403.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.2892, allocations: 44.56 kB / 403.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.2893, allocations: 39.39 kB / 403.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.2893, allocations: 331.6 kB / 404 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2895, allocations: 67.92 kB / 404.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.2897, allocations: 89.12 kB / 404.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.29, allocations: 166.8 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.29, allocations: 0 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004549/0.2905, allocations: 219.7 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2905, allocations: 14.97 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2905, allocations: 0 / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2905, allocations: 1.344 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.2907, allocations: 33.48 kB / 404.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2907, allocations: 3.391 kB / 404.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2909, allocations: 21.16 kB / 404.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2909, allocations: 6.125 kB / 404.6 MB, free: 4.262 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 8.585e-05/0.291, allocations: 135.2 kB / 404.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.291, allocations: 18.5 kB / 404.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.2916, allocations: 246.6 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2916, allocations: 1.219 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2916, allocations: 1.062 kB / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2916, allocations: 0 / 405 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2918, allocations: 244.6 kB / 405.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2918, allocations: 8.5 kB / 405.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.292, allocations: 40.83 kB / 405.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.292, allocations: 1.031 kB / 405.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2921, allocations: 7.438 kB / 405.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2921, allocations: 1.031 kB / 405.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2921, allocations: 1.125 kB / 405.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2925, allocations: 320.4 kB / 405.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.2925, allocations: 27.91 kB / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2926, allocations: 2.125 kB / 405.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.2927, allocations: 11.55 kB / 405.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2928, allocations: 12.14 kB / 405.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2928, allocations: 10.55 kB / 405.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.473e-05/0.2929, allocations: 145 kB / 405.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2929, allocations: 3.938 kB / 405.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000266/0.2932, allocations: 27.25 kB / 405.8 MB, free: 3.457 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.0006208/0.2938, allocations: 0.8536 MB / 406.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.2942, allocations: 176.5 kB / 406.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2942, allocations: 0 / 406.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2944, allocations: 89.95 kB / 407 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.0002787/0.2947, allocations: 31.94 kB / 407 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.297, allocations: 2.122 MB / 409.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.2972, allocations: 0.7255 MB / 409.8 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2973, allocations: 31.91 kB / 409.9 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.2974, allocations: 54.97 kB / 409.9 MB, free: 368 kB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2974, allocations: 0 / 409.9 MB, free: 368 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.3234, allocations: 4.049 MB / 414 MB, free: 14.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.72, allocations: 3.312 kB / 414 MB, free: 14.56 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.193569119961467]