Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001413/0.001413, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001435/0.001435, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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.1.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.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.946e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003355/0.003384, allocations: 1.686 MB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004884, allocations: 0.7164 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.004933, allocations: 3.938 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.005191, allocations: 51.66 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.00539, allocations: 35.72 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.006514, allocations: 477.9 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.006744, allocations: 127.5 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.959e-05/0.006834, allocations: 17.8 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.006972, allocations: 75.8 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.007192, allocations: 71.78 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.007224, allocations: 12 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.007475, allocations: 119.8 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.007551, allocations: 35.84 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.007616, allocations: 39.91 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.007974, allocations: 223.3 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.007977, allocations: 0 / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007978, allocations: 3.938 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007983, allocations: 0 / 276 MB, free: 14.15 MB / 266.7 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.00134/0.009322, allocations: 465.3 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.009363, allocations: 12.03 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/0.01008, allocations: 112.7 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.01034, allocations: 157.6 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.01035, allocations: 4.375 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.01038, allocations: 16.31 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.01078, allocations: 158.2 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.01079, allocations: 192 / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.01081, allocations: 8.375 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.01084, allocations: 11.94 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.01129, allocations: 155.9 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01233, allocations: 479.8 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.01278, allocations: 138.6 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.01297, allocations: 68.81 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.01301, allocations: 4 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.01305, allocations: 30.56 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.01305, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006874/0.01374, allocations: 213.6 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01379, allocations: 55.41 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01401, allocations: 179.2 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.01404, allocations: 29.64 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01415, allocations: 127.9 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.01418, allocations: 31.73 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.01426, allocations: 37.66 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.01444, allocations: 322.8 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.01463, allocations: 55.95 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.01484, allocations: 92.25 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.01524, allocations: 160.5 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01525, allocations: 0 / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000481/0.01573, allocations: 193.4 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01574, allocations: 12.06 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01575, allocations: 0 / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.01577, allocations: 7.938 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.01597, allocations: 31.97 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01598, allocations: 4 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.01611, allocations: 19.89 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01612, allocations: 7.984 kB / 279.3 MB, free: 10.61 MB / 266.7 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.0001351/0.01626, allocations: 133.7 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.01631, allocations: 19.91 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.01706, allocations: 175.1 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.01706, allocations: 7.938 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01707, allocations: 0 / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01707, allocations: 0 / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.01735, allocations: 177.2 kB / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01735, allocations: 0 / 279.8 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.01752, allocations: 27.91 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01752, allocations: 0 / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.01754, allocations: 8 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01754, allocations: 4 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01754, allocations: 3.938 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.01805, allocations: 263.3 kB / 280.1 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.01812, allocations: 23.89 kB / 280.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.01815, allocations: 4 kB / 280.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.01829, allocations: 7.984 kB / 280.1 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.01835, allocations: 11.92 kB / 280.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01837, allocations: 8 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.0185, allocations: 136.9 kB / 280.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0185, allocations: 0 / 280.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.0188, allocations: 27.94 kB / 280.3 MB, free: 9.531 MB / 266.7 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.0001747/0.01898, allocations: 107.2 kB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.01941, allocations: 140.1 kB / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01941, allocations: 0 / 280.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.0196, allocations: 67.89 kB / 280.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.01994, allocations: 27.06 kB / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.02063, allocations: 308.7 kB / 280.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.02076, allocations: 115 kB / 281 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.02087, allocations: 28.62 kB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.02093, allocations: 16.5 kB / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02093, allocations: 0 / 281.1 MB, free: 8.688 MB / 266.7 MB Notification: Performance of Templates: time 0.005114/0.02605, allocations: 1.588 MB / 282.7 MB, free: 7.129 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.37283203296829]