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.000973/0.000973, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001386/0.001386, allocations: 161 kB / 24.56 MB, free: 12 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 0.9104/0.9104, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.717e-05, allocations: 2.312 kB / 272.9 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002016/0.002033, allocations: 1.736 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.003006, allocations: 0.7359 MB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.003062, allocations: 8 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.003291, allocations: 51.61 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.003458, allocations: 43.64 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.004084, allocations: 478 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.004262, allocations: 135.2 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.004352, allocations: 17.8 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.649e-05/0.004448, allocations: 79.73 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.004633, allocations: 75.8 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.004655, allocations: 8 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.004831, allocations: 123.8 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.004879, allocations: 35.84 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.004918, allocations: 35.91 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.005147, allocations: 191.3 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005149, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005149, allocations: 4 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005153, allocations: 0 / 276.7 MB, free: 13.8 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.0007375/0.005891, allocations: 0.5543 MB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.005923, allocations: 12.02 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.006309, allocations: 120.7 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.006466, allocations: 158.8 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.006481, allocations: 8.375 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.006497, allocations: 12.38 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.006697, allocations: 118.9 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.006705, allocations: 192 / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.006719, allocations: 4.375 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.006746, allocations: 7.938 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.006857, allocations: 75.89 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.007421, allocations: 499.2 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.007616, allocations: 83.12 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.007665, allocations: 31.91 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.007688, allocations: 11.94 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.007704, allocations: 33.39 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.007705, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002081/0.007914, allocations: 117.5 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.007939, allocations: 55.41 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.008057, allocations: 230.5 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.008069, allocations: 25.7 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.008132, allocations: 178.5 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.008153, allocations: 31.73 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.008195, allocations: 39.33 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.008305, allocations: 0.4962 MB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.008342, allocations: 19.98 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.008402, allocations: 74.41 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.008502, allocations: 98.69 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008504, allocations: 0 / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001418/0.008646, allocations: 125.4 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.008656, allocations: 4 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.00866, allocations: 0 / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.008671, allocations: 7.938 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.008759, allocations: 23.98 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.008767, allocations: 12.06 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.008811, allocations: 7.953 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.008823, allocations: 15.97 kB / 279.9 MB, free: 10.3 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 6.952e-05/0.008892, allocations: 160.6 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.008917, allocations: 19.84 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.009072, allocations: 115 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009075, allocations: 3.938 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.009078, allocations: 0 / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009081, allocations: 0 / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.009233, allocations: 176.6 kB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009234, allocations: 4 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.009305, allocations: 23.98 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009308, allocations: 3.984 kB / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.009317, allocations: 4 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009319, allocations: 0 / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.00932, allocations: 3.938 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.009489, allocations: 259.8 kB / 280.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.009525, allocations: 23.89 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.009539, allocations: 0 / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.905e-05/0.009598, allocations: 11.98 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.009635, allocations: 19.91 kB / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.00964, allocations: 0 / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.009705, allocations: 164.8 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009705, allocations: 0 / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.009872, allocations: 27.94 kB / 280.9 MB, free: 9.234 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 9.244e-05/0.009965, allocations: 107.2 kB / 281 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.0101, allocations: 79.53 kB / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0101, allocations: 0 / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01015, allocations: 39.61 kB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.01034, allocations: 19.98 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005466/0.01088, allocations: 302.8 kB / 281.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.01093, allocations: 75.33 kB / 281.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01098, allocations: 20.62 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.01102, allocations: 16.5 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01102, allocations: 4 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of Templates: time 0.003314/0.01433, allocations: 1.733 MB / 283.3 MB, free: 6.809 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6414005318656564]