Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 173.6 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007425/0.0007423, allocations: 102.3 kB / 272.1 MB, free: 8.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003376, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001438/0.2523, allocations: 1.284 MB / 377.9 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2534, allocations: 0.8002 MB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.2535, allocations: 2.312 kB / 378.7 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.2537, allocations: 42.72 kB / 378.7 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2539, allocations: 27.7 kB / 378.7 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.255, allocations: 1.088 MB / 379.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.2552, allocations: 107.9 kB / 379.9 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2553, allocations: 30.58 kB / 380 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2555, allocations: 53.98 kB / 380 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.2556, allocations: 74.47 kB / 380.1 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.2557, allocations: 4.938 kB / 380.1 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.2559, allocations: 130.7 kB / 380.2 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.256, allocations: 29.53 kB / 380.3 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.256, allocations: 72.31 kB / 380.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.2563, allocations: 227 kB / 380.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2563, allocations: 1.438 kB / 380.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2563, allocations: 0 / 380.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2563, allocations: 0 / 380.5 MB, free: 42.3 MB / 298.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.001311/0.2577, allocations: 0.5339 MB / 381.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2577, allocations: 9.156 kB / 381.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.2589, allocations: 175.3 kB / 381.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2591, allocations: 192.2 kB / 381.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2591, allocations: 12.84 kB / 381.5 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2591, allocations: 10.09 kB / 381.5 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.2595, allocations: 189.2 kB / 381.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2595, allocations: 0 / 381.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2595, allocations: 1.094 kB / 381.7 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.2596, allocations: 17.45 kB / 381.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.26, allocations: 173.5 kB / 381.8 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.2608, allocations: 0.5444 MB / 382.4 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.2612, allocations: 193 kB / 382.6 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.2614, allocations: 111.7 kB / 382.7 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2614, allocations: 2.562 kB / 382.7 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.2615, allocations: 36.09 kB / 382.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.2615, allocations: 0 / 382.7 MB, free: 40.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006628/0.2621, allocations: 286.7 kB / 383 MB, free: 40.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.2622, allocations: 56.92 kB / 383.1 MB, free: 40.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2623, allocations: 185.3 kB / 383.2 MB, free: 40.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2623, allocations: 27.14 kB / 383.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.2624, allocations: 114 kB / 383.4 MB, free: 40.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2624, allocations: 48.3 kB / 383.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.2624, allocations: 9.062 kB / 383.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.2625, allocations: 330.3 kB / 383.8 MB, free: 39.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.2627, allocations: 80.41 kB / 383.8 MB, free: 39.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2629, allocations: 113 kB / 383.9 MB, free: 39.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.2633, allocations: 197.9 kB / 384.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2633, allocations: 0.9688 kB / 384.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000465/0.2637, allocations: 231.5 kB / 384.4 MB, free: 39.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2638, allocations: 7.844 kB / 384.4 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2638, allocations: 8.969 kB / 384.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2638, allocations: 2.156 kB / 384.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2641, allocations: 39.06 kB / 384.4 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2641, allocations: 2.094 kB / 384.4 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2642, allocations: 21.67 kB / 384.4 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2642, allocations: 8.312 kB / 384.5 MB, free: 39.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.542e-05/0.2643, allocations: 127.6 kB / 384.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.2644, allocations: 18.44 kB / 384.6 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.265, allocations: 278.4 kB / 384.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.265, allocations: 2.031 kB / 384.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.265, allocations: 5.031 kB / 384.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.265, allocations: 0 / 384.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2653, allocations: 288.6 kB / 385.2 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2653, allocations: 3.984 kB / 385.2 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2655, allocations: 39 kB / 385.2 MB, free: 38.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2655, allocations: 4.969 kB / 385.2 MB, free: 38.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2655, allocations: 9.031 kB / 385.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2655, allocations: 1.062 kB / 385.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2655, allocations: 1.219 kB / 385.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.266, allocations: 350 kB / 385.6 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.2661, allocations: 94.67 kB / 385.7 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2661, allocations: 13.16 kB / 385.7 MB, free: 38.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2663, allocations: 15.48 kB / 385.7 MB, free: 38.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.2663, allocations: 14.77 kB / 385.7 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2664, allocations: 11.97 kB / 385.7 MB, free: 38.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.2665, allocations: 137.8 kB / 385.8 MB, free: 38.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2665, allocations: 0 / 385.8 MB, free: 38.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.2667, allocations: 27.59 kB / 385.9 MB, free: 38.25 MB / 298.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001406/0.2669, allocations: 113.4 kB / 386 MB, free: 38.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.2673, allocations: 193.8 kB / 386.2 MB, free: 38.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2674, allocations: 1.438 kB / 386.2 MB, free: 38.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.2676, allocations: 116.9 kB / 386.3 MB, free: 38.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2679, allocations: 18.83 kB / 386.3 MB, free: 38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.2685, allocations: 380.2 kB / 386.7 MB, free: 37.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2687, allocations: 0.7304 MB / 387.4 MB, free: 36.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.2688, allocations: 33.72 kB / 387.4 MB, free: 36.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.2689, allocations: 21.58 kB / 387.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2689, allocations: 0 / 387.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of Templates: time 0.004119/0.273, allocations: 1.916 MB / 389.4 MB, free: 35.17 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches