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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 106.6 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 187.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 51.94 kB / 328 MB, free: 3.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07431/0.07552, allocations: 46.62 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002463/0.07802, allocations: 1.588 MB / 376.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.07914, allocations: 0.6948 MB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.07922, allocations: 0 / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.07946, allocations: 47.73 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.07965, allocations: 39.77 kB / 377 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.0807, allocations: 0.603 MB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.0809, allocations: 107.7 kB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.08101, allocations: 41.05 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.08116, allocations: 67.7 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.08132, allocations: 75.67 kB / 377.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.08135, allocations: 12 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.08156, allocations: 131.8 kB / 378 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.08163, allocations: 31.91 kB / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.08169, allocations: 63.59 kB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.08198, allocations: 215.6 kB / 378.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.08199, allocations: 4 kB / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.082, allocations: 0 / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.08201, allocations: 4 kB / 378.3 MB, free: 1.391 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.00138/0.0834, allocations: 0.5458 MB / 378.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.08344, allocations: 12.02 kB / 378.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.08349, allocations: 42.75 kB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.08483, allocations: 172.5 kB / 379.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.085, allocations: 192.1 kB / 379.3 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.08502, allocations: 16.22 kB / 379.3 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.08506, allocations: 16.38 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.08541, allocations: 177.6 kB / 379.5 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.08543, allocations: 0 / 379.5 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.08546, allocations: 3.938 kB / 379.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.08548, allocations: 8 kB / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1452/0.2307, allocations: 167.7 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.2316, allocations: 0.5333 MB / 380.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.232, allocations: 166.4 kB / 380.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.2322, allocations: 97.11 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2322, allocations: 1.984 kB / 380.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.2322, allocations: 33.86 kB / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2322, allocations: 0 / 380.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006309/0.2328, allocations: 270.4 kB / 380.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.2329, allocations: 53.3 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.233, allocations: 184.5 kB / 381 MB, free: 12.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.233, allocations: 30.41 kB / 381 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2331, allocations: 110.1 kB / 381.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.2331, allocations: 43.47 kB / 381.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.2332, allocations: 35.73 kB / 381.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.2332, allocations: 327.3 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2334, allocations: 66.81 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2336, allocations: 95.44 kB / 381.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2339, allocations: 164.2 kB / 381.8 MB, free: 12.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.234, allocations: 0 / 381.8 MB, free: 12.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004181/0.2344, allocations: 215 kB / 382 MB, free: 11.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2344, allocations: 6 kB / 382 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2344, allocations: 0.5938 kB / 382 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2344, allocations: 6.359 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.2347, allocations: 35.27 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2347, allocations: 3.688 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2349, allocations: 28.64 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2349, allocations: 7.047 kB / 382.1 MB, free: 11.96 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.293e-05/0.235, allocations: 127.4 kB / 382.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.235, allocations: 14.92 kB / 382.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.2356, allocations: 256.5 kB / 382.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2356, allocations: 7.156 kB / 382.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2356, allocations: 2.812 kB / 382.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2356, allocations: 1.344 kB / 382.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2359, allocations: 276.4 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2359, allocations: 0.5 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2361, allocations: 38.56 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2361, allocations: 1.797 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.2361, allocations: 4.219 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2362, allocations: 4.594 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2362, allocations: 4.156 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.2366, allocations: 322.4 kB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.2367, allocations: 91.64 kB / 383.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2367, allocations: 5.625 kB / 383.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2369, allocations: 14.72 kB / 383.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.2369, allocations: 18.17 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.237, allocations: 6.047 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.2371, allocations: 143.6 kB / 383.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2371, allocations: 0 / 383.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.2373, allocations: 38.92 kB / 383.5 MB, free: 11.1 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.0005913/0.2379, allocations: 0.8529 MB / 384.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.2384, allocations: 171.6 kB / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2384, allocations: 0.9375 kB / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2386, allocations: 99.08 kB / 384.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2389, allocations: 23.38 kB / 384.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.2411, allocations: 2.12 MB / 386.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2412, allocations: 0.7248 MB / 387.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2413, allocations: 37.09 kB / 387.5 MB, free: 8.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/0.2414, allocations: 55.02 kB / 387.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2415, allocations: 0 / 387.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.262, allocations: 3.874 MB / 391.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.328, allocations: 13.33 kB / 391.4 MB, free: 7.34 MB / 318.1 MB (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 --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) 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) Reference file matches