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.00128/0.00128, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001259/0.001259, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.394/1.394, 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.001742/0.001742, allocations: 56.39 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09566, allocations: 46.62 MB / 374.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002717/0.09843, allocations: 1.596 MB / 376.2 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.09969, allocations: 0.6909 MB / 376.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.09976, allocations: 4 kB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1, allocations: 43.73 kB / 377 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1002, allocations: 39.72 kB / 377 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1014, allocations: 0.5914 MB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1016, allocations: 111.7 kB / 377.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1017, allocations: 33.06 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1019, allocations: 71.69 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.102, allocations: 79.67 kB / 377.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1021, allocations: 12 kB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.1023, allocations: 131.8 kB / 378 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.1024, allocations: 39.89 kB / 378.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.1025, allocations: 59.53 kB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.1028, allocations: 219.2 kB / 378.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1028, allocations: 3.938 kB / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1028, allocations: 0 / 378.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1028, allocations: 0 / 378.3 MB, free: 1.383 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.001459/0.1043, allocations: 0.561 MB / 378.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1043, allocations: 8.031 kB / 378.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.1044, allocations: 42.73 kB / 378.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.1057, allocations: 176.6 kB / 379.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1059, allocations: 192.1 kB / 379.3 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1059, allocations: 12.23 kB / 379.3 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.106, allocations: 8.375 kB / 379.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.1064, allocations: 177.7 kB / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1064, allocations: 4 kB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1064, allocations: 11.94 kB / 379.5 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.1065, allocations: 4 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1608/0.2673, allocations: 166 kB / 379.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.2683, allocations: 0.5385 MB / 380.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2687, allocations: 165.9 kB / 380.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2689, allocations: 90.67 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.269, allocations: 1.562 kB / 380.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.269, allocations: 40.34 kB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.269, allocations: 0 / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006827/0.2697, allocations: 256.8 kB / 380.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2697, allocations: 54.11 kB / 380.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2699, allocations: 185.9 kB / 381 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2699, allocations: 26.92 kB / 381 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.2699, allocations: 120.7 kB / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.27, allocations: 43.5 kB / 381.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.2701, allocations: 35.39 kB / 381.2 MB, free: 12.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.2701, allocations: 324.5 kB / 381.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.2703, allocations: 71.17 kB / 381.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2705, allocations: 88.97 kB / 381.7 MB, free: 12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2708, allocations: 171.2 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2709, allocations: 0 / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004642/0.2713, allocations: 216.8 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2714, allocations: 5.219 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2714, allocations: 5.469 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2714, allocations: 5.344 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2716, allocations: 38.91 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2717, allocations: 2.062 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2718, allocations: 16.17 kB / 382.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.2718, allocations: 11.97 kB / 382.1 MB, free: 11.93 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.207e-05/0.2719, allocations: 125.8 kB / 382.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.272, allocations: 20.12 kB / 382.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/0.2726, allocations: 251.3 kB / 382.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.2726, allocations: 5.656 kB / 382.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2726, allocations: 4.078 kB / 382.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2726, allocations: 1.219 kB / 382.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2729, allocations: 268.4 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2729, allocations: 0.625 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.2732, allocations: 44.97 kB / 382.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2732, allocations: 3.609 kB / 382.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.2732, allocations: 3.453 kB / 382.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2732, allocations: 6.016 kB / 382.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2732, allocations: 4.469 kB / 382.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.2737, allocations: 326.5 kB / 383.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2738, allocations: 95.64 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2738, allocations: 3.078 kB / 383.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.274, allocations: 19.23 kB / 383.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.274, allocations: 13.45 kB / 383.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2741, allocations: 11.59 kB / 383.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.2742, allocations: 144.7 kB / 383.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2742, allocations: 0 / 383.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.2745, allocations: 26.16 kB / 383.5 MB, free: 11.09 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.0007089/0.2752, allocations: 0.8593 MB / 384.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.2757, allocations: 175 kB / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2757, allocations: 0 / 384.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2759, allocations: 98.52 kB / 384.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2762, allocations: 20.61 kB / 384.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.2786, allocations: 2.126 MB / 386.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2788, allocations: 0.7334 MB / 387.5 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.2789, allocations: 33.89 kB / 387.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.279, allocations: 54.08 kB / 387.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.279, allocations: 0 / 387.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3036, allocations: 3.816 MB / 391.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.464, allocations: 9.109 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