Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002425/0.002425, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 56.19 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002992/0.1048, allocations: 1.694 MB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1062, allocations: 0.7593 MB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.1063, allocations: 4 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1066, allocations: 47.73 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1069, allocations: 39.7 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1079, allocations: 0.5015 MB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1081, allocations: 123.6 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1082, allocations: 29.52 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1084, allocations: 63.77 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1086, allocations: 87.61 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1086, allocations: 12 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.1089, allocations: 119.9 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.109, allocations: 35.84 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.109, allocations: 71.53 kB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1094, allocations: 187.7 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1094, allocations: 0 / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1094, allocations: 0 / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1094, allocations: 0 / 361.3 MB, free: 10.23 MB / 302.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.001467/0.1109, allocations: 0.5377 MB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1109, allocations: 8.031 kB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.111, allocations: 42.75 kB / 361.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.1117, allocations: 112.5 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1119, allocations: 195.3 kB / 362.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.112, allocations: 8.375 kB / 362.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.112, allocations: 12.38 kB / 362.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1124, allocations: 165.6 kB / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1124, allocations: 0 / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1125, allocations: 7.938 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.1125, allocations: 11.94 kB / 362.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.1129, allocations: 157 kB / 362.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1139, allocations: 0.5625 MB / 363.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1144, allocations: 154.5 kB / 363.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1146, allocations: 60.81 kB / 363.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1146, allocations: 4 kB / 363.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1146, allocations: 38.56 kB / 363.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.1146, allocations: 0 / 363.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006499/0.1153, allocations: 209.5 kB / 363.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1153, allocations: 51.41 kB / 363.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.1156, allocations: 210.6 kB / 363.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1156, allocations: 25.7 kB / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1157, allocations: 132 kB / 364 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1157, allocations: 31.56 kB / 364 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.1158, allocations: 29.7 kB / 364.1 MB, free: 7.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1159, allocations: 322.8 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1161, allocations: 59.95 kB / 364.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1163, allocations: 104.1 kB / 364.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.1167, allocations: 152.2 kB / 364.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1168, allocations: 0 / 364.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004961/0.1173, allocations: 205.5 kB / 364.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1173, allocations: 8 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1173, allocations: 0 / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1173, allocations: 0 / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1175, allocations: 31.92 kB / 364.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1175, allocations: 4 kB / 364.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1177, allocations: 15.83 kB / 364.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1177, allocations: 12.12 kB / 364.9 MB, free: 6.336 MB / 302.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 0.0001174/0.1178, allocations: 137.7 kB / 365.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1179, allocations: 15.81 kB / 365.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.1183, allocations: 182.9 kB / 365.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1184, allocations: 0 / 365.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1184, allocations: 4 kB / 365.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1184, allocations: 0 / 365.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1187, allocations: 261.4 kB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1187, allocations: 0 / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1189, allocations: 23.98 kB / 365.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1189, allocations: 0 / 365.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1189, allocations: 3.984 kB / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1189, allocations: 0 / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1189, allocations: 0 / 365.6 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.1194, allocations: 271.3 kB / 365.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1195, allocations: 104.9 kB / 365.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1195, allocations: 4 kB / 365.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1197, allocations: 4 kB / 365.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1198, allocations: 11.92 kB / 366 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1198, allocations: 4 kB / 366 MB, free: 5.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.1199, allocations: 160.8 kB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1202, allocations: 27.91 kB / 366.1 MB, free: 5.047 MB / 302.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.0007906/0.121, allocations: 0.806 MB / 366.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.1214, allocations: 143.8 kB / 367.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1215, allocations: 0 / 367.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1216, allocations: 67.89 kB / 367.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1219, allocations: 24.27 kB / 367.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.1247, allocations: 2.137 MB / 369.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1251, allocations: 0.7201 MB / 370 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1252, allocations: 37.39 kB / 370.1 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.1253, allocations: 47.41 kB / 370.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1253, allocations: 0 / 370.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2027/0.328, allocations: 3.376 MB / 373.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.24, allocations: 7.969 kB / 373.5 MB, free: 19.82 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches