Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 114.7 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 196.2 kB / 21.4 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.92 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003019/0.1094, allocations: 1.65 MB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1107, allocations: 0.6466 MB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.1108, allocations: 0 / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1111, allocations: 51.72 kB / 421.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1113, allocations: 31.73 kB / 421.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1125, allocations: 0.6181 MB / 421.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1128, allocations: 107.7 kB / 422 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1129, allocations: 21.11 kB / 422 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.113, allocations: 59.77 kB / 422.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1132, allocations: 87.59 kB / 422.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1132, allocations: 8 kB / 422.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.1135, allocations: 131.8 kB / 422.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.1135, allocations: 39.89 kB / 422.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.1136, allocations: 55.59 kB / 422.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.114, allocations: 219.2 kB / 422.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.114, allocations: 0 / 422.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.114, allocations: 0 / 422.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.114, allocations: 0 / 422.6 MB, free: 8.383 MB / 350.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.001543/0.1155, allocations: 0.561 MB / 423.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1156, allocations: 8.031 kB / 423.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.1169, allocations: 172.6 kB / 423.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1171, allocations: 202 kB / 423.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1171, allocations: 12.38 kB / 423.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1172, allocations: 4.375 kB / 423.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.1176, allocations: 177.9 kB / 423.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1176, allocations: 0 / 423.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1176, allocations: 11.94 kB / 423.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1176, allocations: 4 kB / 423.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.118, allocations: 163.9 kB / 423.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.119, allocations: 0.5393 MB / 424.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1194, allocations: 154.5 kB / 424.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1196, allocations: 88.8 kB / 424.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1196, allocations: 7.984 kB / 424.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1197, allocations: 38.75 kB / 424.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1197, allocations: 0 / 424.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006918/0.1204, allocations: 257.4 kB / 425 MB, free: 5.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1204, allocations: 59.39 kB / 425.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1206, allocations: 190.4 kB / 425.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1206, allocations: 25.7 kB / 425.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1207, allocations: 116.2 kB / 425.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1207, allocations: 43.64 kB / 425.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.1208, allocations: 29.7 kB / 425.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1209, allocations: 330.8 kB / 425.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1211, allocations: 63.95 kB / 425.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1213, allocations: 102.4 kB / 426 MB, free: 4.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1217, allocations: 166.4 kB / 426.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1217, allocations: 0 / 426.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004716/0.1222, allocations: 216.3 kB / 426.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1222, allocations: 11.94 kB / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1222, allocations: 0 / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1222, allocations: 0 / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1225, allocations: 39.95 kB / 426.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1225, allocations: 7.938 kB / 426.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1226, allocations: 15.88 kB / 426.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1226, allocations: 12 kB / 426.4 MB, free: 4.367 MB / 350.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 0.0001189/0.1227, allocations: 130.5 kB / 426.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1228, allocations: 23.78 kB / 426.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.1234, allocations: 249.1 kB / 426.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1234, allocations: 0 / 426.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1234, allocations: 0 / 426.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1234, allocations: 0 / 426.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1237, allocations: 277.4 kB / 427.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1237, allocations: 4 kB / 427.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.1239, allocations: 43.95 kB / 427.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1239, allocations: 3.938 kB / 427.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1239, allocations: 0 / 427.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1239, allocations: 0 / 427.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1239, allocations: 4 kB / 427.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.1244, allocations: 319.3 kB / 427.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1245, allocations: 96.94 kB / 427.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.1245, allocations: 8 kB / 427.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1247, allocations: 7.984 kB / 427.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.1247, allocations: 15.98 kB / 427.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1248, allocations: 4 kB / 427.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1249, allocations: 140.2 kB / 427.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1249, allocations: 0 / 427.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1252, allocations: 39.94 kB / 427.7 MB, free: 2.926 MB / 350.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.000157/0.1253, allocations: 107.2 kB / 427.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1258, allocations: 169.8 kB / 428 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1258, allocations: 0 / 428 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.126, allocations: 100 kB / 428.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1263, allocations: 17.2 kB / 428.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.1269, allocations: 365.3 kB / 428.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1273, allocations: 0.7241 MB / 429.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.1274, allocations: 31.42 kB / 429.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1274, allocations: 0 / 429.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of Templates: time 0.004563/0.1319, allocations: 2.165 MB / 431.4 MB, free: 15.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/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_4.0.0_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: 6.792357055994216]