Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 101.5 kB / 18.39 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 183 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.92 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06998/0.0711, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002491/0.07362, allocations: 1.584 MB / 377.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.07473, allocations: 0.6916 MB / 378.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.07481, allocations: 4 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.07505, allocations: 51.73 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.07522, allocations: 35.72 kB / 378.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.07629, allocations: 0.6069 MB / 378.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.07648, allocations: 107.7 kB / 378.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.07658, allocations: 29.06 kB / 378.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.07672, allocations: 67.64 kB / 379 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.07688, allocations: 79.67 kB / 379 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.07692, allocations: 8 kB / 379 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.07711, allocations: 135.8 kB / 379.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.07718, allocations: 43.89 kB / 379.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.07724, allocations: 55.61 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.07754, allocations: 219.3 kB / 379.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.07755, allocations: 0 / 379.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07756, allocations: 3.938 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.07757, allocations: 0 / 379.5 MB, free: 0.8789 MB / 318.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.001362/0.07893, allocations: 0.5497 MB / 380 MB, free: 288 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.07897, allocations: 8.031 kB / 380 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.08035, allocations: 176.5 kB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1411/0.2215, allocations: 186.2 kB / 380.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.2216, allocations: 11.36 kB / 380.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2216, allocations: 9.375 kB / 380.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.222, allocations: 175.4 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2221, allocations: 0 / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2221, allocations: 4.656 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.2221, allocations: 6.141 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.2225, allocations: 171.8 kB / 380.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008377/0.2233, allocations: 0.5379 MB / 381.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.2237, allocations: 168.8 kB / 381.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.2239, allocations: 93.06 kB / 381.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2239, allocations: 4.578 kB / 381.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.224, allocations: 31.94 kB / 381.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.224, allocations: 0 / 381.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000633/0.2246, allocations: 263.4 kB / 381.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.2246, allocations: 58.48 kB / 381.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2248, allocations: 184.2 kB / 382.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2248, allocations: 29.7 kB / 382.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.2249, allocations: 112.4 kB / 382.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.2249, allocations: 40.92 kB / 382.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.225, allocations: 41.7 kB / 382.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.225, allocations: 326.2 kB / 382.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.2252, allocations: 66.91 kB / 382.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2254, allocations: 90.25 kB / 382.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.2258, allocations: 167.8 kB / 383 MB, free: 11.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2258, allocations: 0 / 383 MB, free: 11.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004456/0.2262, allocations: 215.7 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2263, allocations: 5.188 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2263, allocations: 6.75 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2263, allocations: 1.656 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2266, allocations: 36.75 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2266, allocations: 6.859 kB / 383.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2267, allocations: 21.55 kB / 383.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2268, allocations: 6.891 kB / 383.2 MB, free: 11.79 MB / 318.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 8.649e-05/0.2268, allocations: 134.3 kB / 383.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.2269, allocations: 17.88 kB / 383.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.2275, allocations: 247.4 kB / 383.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2275, allocations: 3.156 kB / 383.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2275, allocations: 4.469 kB / 383.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2275, allocations: 1.484 kB / 383.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.2278, allocations: 278.2 kB / 383.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2278, allocations: 1.031 kB / 383.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.228, allocations: 44.2 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.228, allocations: 1.984 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.228, allocations: 6.859 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.228, allocations: 2.438 kB / 384 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.228, allocations: 3.938 kB / 384 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.2285, allocations: 320 kB / 384.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.2285, allocations: 96.38 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.2286, allocations: 6.094 kB / 384.4 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2287, allocations: 10.89 kB / 384.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.2288, allocations: 15.84 kB / 384.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2288, allocations: 9.875 kB / 384.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.269e-05/0.2289, allocations: 152 kB / 384.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2289, allocations: 0 / 384.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000267/0.2292, allocations: 29.47 kB / 384.6 MB, free: 10.88 MB / 318.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 9.75e-05/0.2293, allocations: 102.5 kB / 384.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004287/0.2297, allocations: 170 kB / 384.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2298, allocations: 9.406 kB / 384.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.23, allocations: 97.62 kB / 385 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2303, allocations: 20.12 kB / 385 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2308, allocations: 337.3 kB / 385.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.2309, allocations: 0.729 MB / 386.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.231, allocations: 25.06 kB / 386.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.231, allocations: 0 / 386.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of Templates: time 0.003836/0.2349, allocations: 2.188 MB / 388.3 MB, free: 9.578 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches