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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002029/0.002029, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 177 MB / 204.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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: 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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.2 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.966e-05, allocations: 2.312 kB / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004317/0.004346, allocations: 1.698 MB / 273.9 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.006335, allocations: 0.7319 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.006413, allocations: 4 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.006738, allocations: 51.67 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.006991, allocations: 39.64 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.008496, allocations: 486 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.008805, allocations: 127.5 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.008923, allocations: 21.8 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.009114, allocations: 79.73 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.009382, allocations: 75.78 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.00942, allocations: 8 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.00977, allocations: 119.8 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.009862, allocations: 39.83 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.009951, allocations: 31.92 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.01048, allocations: 227.2 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01048, allocations: 0 / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01048, allocations: 4 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.01048, allocations: 0 / 275.9 MB, free: 14.12 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.001981/0.01247, allocations: 0.554 MB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.01251, allocations: 11.98 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.01362, allocations: 124.7 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.01395, allocations: 152.4 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01398, allocations: 8.375 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.01401, allocations: 16.36 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.01448, allocations: 140.4 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01449, allocations: 192 / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.01452, allocations: 4.375 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.01455, allocations: 11.94 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.01506, allocations: 143.8 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.01658, allocations: 0.5342 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.01711, allocations: 127.2 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.01732, allocations: 55.78 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.01735, allocations: 4 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.01739, allocations: 37.39 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.0174, allocations: 0 / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007489/0.01815, allocations: 181.5 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.01821, allocations: 55.41 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.01854, allocations: 246.5 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.01858, allocations: 25.7 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.01876, allocations: 174.6 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.01881, allocations: 35.73 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.01893, allocations: 43.31 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003534/0.01928, allocations: 0.5001 MB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.01946, allocations: 43.97 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.01972, allocations: 102.3 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.02016, allocations: 154.6 kB / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02016, allocations: 0 / 279.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005663/0.02073, allocations: 165.5 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.02075, allocations: 4.125 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.02076, allocations: 4 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.02078, allocations: 7.938 kB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.02102, allocations: 27.98 kB / 279.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.02103, allocations: 11.88 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.02118, allocations: 19.86 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.02121, allocations: 4 kB / 279.6 MB, free: 10.2 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.0002132/0.02142, allocations: 176.6 kB / 279.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.02149, allocations: 15.91 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.02208, allocations: 159 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.02209, allocations: 3.938 kB / 279.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.02209, allocations: 0 / 279.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.0221, allocations: 0 / 279.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.02252, allocations: 200.5 kB / 280.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02253, allocations: 0 / 280.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.02272, allocations: 23.98 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.02273, allocations: 4 kB / 280.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.02275, allocations: 3.938 kB / 280.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02275, allocations: 0 / 280.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.02276, allocations: 3.938 kB / 280.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.02336, allocations: 299.7 kB / 280.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.02347, allocations: 23.89 kB / 280.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.02351, allocations: 8 kB / 280.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.02368, allocations: 7.984 kB / 280.5 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.02375, allocations: 11.92 kB / 280.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.02377, allocations: 4 kB / 280.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.02398, allocations: 168.8 kB / 280.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02398, allocations: 0 / 280.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.02448, allocations: 31.94 kB / 280.7 MB, free: 9.004 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.0001982/0.02468, allocations: 103.2 kB / 280.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.02516, allocations: 127.5 kB / 280.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.02517, allocations: 0 / 280.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.02539, allocations: 63.59 kB / 281 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.02587, allocations: 24.23 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.02677, allocations: 314.5 kB / 281.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.02693, allocations: 102.9 kB / 281.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.02707, allocations: 24.62 kB / 281.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.02716, allocations: 24.48 kB / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02716, allocations: 0 / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of Templates: time 0.00725/0.03441, allocations: 1.574 MB / 283 MB, free: 6.609 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.641418533050455]