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.001594/0.001594, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.0019/0.0019, allocations: 186 kB / 24.46 MB, free: 3.863 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.428/1.428, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.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.001608/0.001608, allocations: 51.91 kB / 371.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.245, allocations: 52.17 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002926/0.2479, allocations: 1.619 MB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2491, allocations: 0.6115 MB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.2491, allocations: 0 / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.2494, allocations: 43.8 kB / 426.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2496, allocations: 39.7 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.2508, allocations: 0.5564 MB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.251, allocations: 115.7 kB / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2511, allocations: 16.27 kB / 426.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2513, allocations: 63.7 kB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2514, allocations: 75.72 kB / 426.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.2515, allocations: 19.94 kB / 426.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2517, allocations: 99.81 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2517, allocations: 31.91 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.2518, allocations: 47.72 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.2521, allocations: 214.9 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2521, allocations: 0 / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2521, allocations: 0 / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2521, allocations: 0 / 427.3 MB, free: 10.95 MB / 334.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.001468/0.2536, allocations: 497.4 kB / 427.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2536, allocations: 8.031 kB / 427.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.255, allocations: 172.6 kB / 428 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2552, allocations: 169.1 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2552, allocations: 8.359 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.2553, allocations: 8.375 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.2557, allocations: 177.9 kB / 428.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2557, allocations: 0 / 428.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2557, allocations: 8 kB / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2557, allocations: 4 kB / 428.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.2561, allocations: 167.9 kB / 428.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.257, allocations: 440 kB / 428.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.2574, allocations: 152.6 kB / 429.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2576, allocations: 88.8 kB / 429.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2576, allocations: 8 kB / 429.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2577, allocations: 30.56 kB / 429.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2577, allocations: 0 / 429.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007052/0.2584, allocations: 261.6 kB / 429.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2584, allocations: 55.41 kB / 429.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.2586, allocations: 155.7 kB / 429.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2586, allocations: 29.7 kB / 429.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.2587, allocations: 115.9 kB / 429.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.2587, allocations: 51.64 kB / 429.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.2588, allocations: 37.69 kB / 429.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2589, allocations: 318.8 kB / 430.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2591, allocations: 71.89 kB / 430.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.2593, allocations: 86.52 kB / 430.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.2597, allocations: 170.2 kB / 430.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2597, allocations: 4 kB / 430.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004783/0.2602, allocations: 213.4 kB / 430.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2602, allocations: 8 kB / 430.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2602, allocations: 0 / 430.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2602, allocations: 0 / 430.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2605, allocations: 39.89 kB / 430.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2605, allocations: 7.938 kB / 430.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2606, allocations: 16.02 kB / 430.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2606, allocations: 15.98 kB / 430.8 MB, free: 7.254 MB / 334.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.0001266/0.2608, allocations: 125.8 kB / 431 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.2608, allocations: 11.89 kB / 431 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.2614, allocations: 256.7 kB / 431.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2614, allocations: 4 kB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2614, allocations: 0 / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2614, allocations: 0 / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2617, allocations: 193.1 kB / 431.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2617, allocations: 0 / 431.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2619, allocations: 43.95 kB / 431.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2619, allocations: 3.938 kB / 431.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2619, allocations: 4 kB / 431.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2619, allocations: 0 / 431.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2619, allocations: 3.984 kB / 431.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.2625, allocations: 319.3 kB / 431.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2625, allocations: 19.84 kB / 431.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.2625, allocations: 3.938 kB / 431.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2627, allocations: 11.98 kB / 431.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.2628, allocations: 19.91 kB / 431.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2628, allocations: 8 kB / 431.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.2629, allocations: 117.3 kB / 432 MB, free: 6.074 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2629, allocations: 0 / 432 MB, free: 6.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.2631, allocations: 28 kB / 432 MB, free: 6.047 MB / 334.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.0001454/0.2633, allocations: 111.2 kB / 432.1 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2638, allocations: 167.7 kB / 432.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2638, allocations: 0 / 432.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.264, allocations: 99.31 kB / 432.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2643, allocations: 16.06 kB / 432.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.2649, allocations: 357.6 kB / 432.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.265, allocations: 111.2 kB / 432.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.2651, allocations: 23.42 kB / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2651, allocations: 0 / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Templates: time 0.004202/0.2693, allocations: 2.126 MB / 435 MB, free: 2.996 MB / 334.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.744639107957482]