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.006191/0.006191, allocations: 100.6 kB / 21.96 MB, free: 5.211 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.001699/0.001699, allocations: 218 kB / 25.26 MB, free: 3.141 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.7 MB / 236.1 MB, free: 9.789 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.001676/0.001676, allocations: 57.58 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2437, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002561/0.2462, allocations: 1.554 MB / 398.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2472, allocations: 0.6524 MB / 399.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2473, allocations: 2.25 kB / 399.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.2475, allocations: 52.55 kB / 399.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2477, allocations: 33.25 kB / 399.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2487, allocations: 0.5946 MB / 400 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.2489, allocations: 112.7 kB / 400.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.249, allocations: 23.14 kB / 400.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.2491, allocations: 68.97 kB / 400.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2493, allocations: 70.75 kB / 400.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.2493, allocations: 9.719 kB / 400.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.2495, allocations: 118.7 kB / 400.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.2496, allocations: 35.75 kB / 400.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.2496, allocations: 48.42 kB / 400.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.2499, allocations: 215.4 kB / 400.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2499, allocations: 7.938 kB / 400.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2499, allocations: 0.7969 kB / 400.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2499, allocations: 1.375 kB / 400.7 MB, free: 6.688 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.001461/0.2514, allocations: 0.4918 MB / 401.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2514, allocations: 17.95 kB / 401.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.528e-05/0.2514, allocations: 7.922 kB / 401.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.2515, allocations: 45.31 kB / 401.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.253, allocations: 184.6 kB / 401.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2532, allocations: 161.3 kB / 401.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2532, allocations: 8.562 kB / 401.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.2532, allocations: 10.72 kB / 401.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.2536, allocations: 179 kB / 401.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2536, allocations: 0 / 401.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2537, allocations: 1.156 kB / 401.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.2537, allocations: 6.125 kB / 401.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.2541, allocations: 166.7 kB / 401.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.2549, allocations: 498.5 kB / 402.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.2553, allocations: 158.2 kB / 402.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2555, allocations: 85.23 kB / 402.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2555, allocations: 5.734 kB / 402.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.2555, allocations: 37.52 kB / 402.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2555, allocations: 3.938 kB / 402.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006363/0.2561, allocations: 261.4 kB / 403 MB, free: 5.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.2562, allocations: 53.75 kB / 403 MB, free: 5.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2563, allocations: 194.9 kB / 403.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2563, allocations: 30.83 kB / 403.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2564, allocations: 112 kB / 403.4 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2564, allocations: 51.84 kB / 403.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.2565, allocations: 35.48 kB / 403.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.2565, allocations: 322 kB / 403.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2567, allocations: 67.03 kB / 403.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.2568, allocations: 92.55 kB / 403.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.2572, allocations: 169.4 kB / 404.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2572, allocations: 1.125 kB / 404.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004373/0.2576, allocations: 213.3 kB / 404.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2576, allocations: 9.656 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2577, allocations: 1.031 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2577, allocations: 1.031 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2579, allocations: 38.52 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2579, allocations: 2.047 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2581, allocations: 22.66 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2581, allocations: 6.594 kB / 404.4 MB, free: 4.359 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.38e-05/0.2582, allocations: 131.9 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2582, allocations: 18.62 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.2587, allocations: 252 kB / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2587, allocations: 2.219 kB / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2587, allocations: 0 / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2587, allocations: 2.125 kB / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.259, allocations: 222.6 kB / 405 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.259, allocations: 4.734 kB / 405 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2592, allocations: 36.44 kB / 405 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2592, allocations: 1.156 kB / 405 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.2592, allocations: 7.859 kB / 405 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2592, allocations: 0.9062 kB / 405 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2592, allocations: 5.188 kB / 405 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.2597, allocations: 321.1 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.2597, allocations: 24.03 kB / 405.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.2598, allocations: 8.938 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2599, allocations: 11.38 kB / 405.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.26, allocations: 17.77 kB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.26, allocations: 5.406 kB / 405.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2601, allocations: 150.6 kB / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2601, allocations: 0 / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.2604, allocations: 25.34 kB / 405.6 MB, free: 3.555 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.0006516/0.261, allocations: 0.8599 MB / 406.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.2615, allocations: 172.2 kB / 406.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2615, allocations: 0 / 406.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2617, allocations: 94.09 kB / 406.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.262, allocations: 16.86 kB / 406.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.2643, allocations: 2.118 MB / 408.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/0.2644, allocations: 110.3 kB / 409 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2645, allocations: 36.81 kB / 409 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2646, allocations: 53.8 kB / 409 MB, free: 1.098 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2646, allocations: 1.469 kB / 409 MB, free: 1.098 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.2906, allocations: 4.155 MB / 413.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 15.34 kB / 413.2 MB, free: 15.23 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.414224102976732]