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.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.001162/0.001162, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009469/0.0009469, allocations: 162.9 kB / 25.75 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9015/0.9015, allocations: 158.6 MB / 187.5 MB, free: 2.953 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.1 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.863e-05, allocations: 2.312 kB / 251.1 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002833/0.002862, allocations: 1.61 MB / 252.7 MB, free: 6.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004041, allocations: 0.6629 MB / 253.3 MB, free: 5.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.004114, allocations: 4 kB / 253.3 MB, free: 5.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.004376, allocations: 51.66 kB / 253.4 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.004567, allocations: 35.73 kB / 253.4 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.005577, allocations: 0.599 MB / 254 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.005774, allocations: 111.7 kB / 254.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005879, allocations: 21.3 kB / 254.2 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.006052, allocations: 75.8 kB / 254.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.006201, allocations: 63.8 kB / 254.3 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.006223, allocations: 8 kB / 254.3 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.006427, allocations: 107.9 kB / 254.4 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.006486, allocations: 39.83 kB / 254.4 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.006539, allocations: 43.78 kB / 254.5 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.006861, allocations: 203.4 kB / 254.7 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.006863, allocations: 0 / 254.7 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.006865, allocations: 0 / 254.7 MB, free: 4.203 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.006871, allocations: 0 / 254.7 MB, free: 4.203 MB / 234.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.00126/0.008131, allocations: 0.5934 MB / 255.3 MB, free: 3.574 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.008171, allocations: 15.98 kB / 255.3 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.009473, allocations: 196.6 kB / 255.5 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.009707, allocations: 160.4 kB / 255.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.009727, allocations: 8.234 kB / 255.7 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.009752, allocations: 12.38 kB / 255.7 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.01006, allocations: 138.8 kB / 255.8 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01007, allocations: 4.125 kB / 255.8 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.01009, allocations: 4.375 kB / 255.8 MB, free: 3.012 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.01012, allocations: 11.94 kB / 255.8 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.0103, allocations: 71.94 kB / 255.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.01107, allocations: 463.2 kB / 256.3 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.01127, allocations: 107 kB / 256.5 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.01134, allocations: 51.59 kB / 256.5 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.01136, allocations: 4 kB / 256.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01138, allocations: 37.39 kB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.01138, allocations: 0 / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002815/0.01166, allocations: 152.7 kB / 256.7 MB, free: 2.066 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01169, allocations: 55.34 kB / 256.7 MB, free: 2 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.01181, allocations: 206.4 kB / 256.9 MB, free: 1.777 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.01182, allocations: 29.7 kB / 257 MB, free: 1.742 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.01189, allocations: 166.7 kB / 257.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.01192, allocations: 47.62 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.01197, allocations: 47.34 kB / 257.2 MB, free: 1.473 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01208, allocations: 0.4962 MB / 257.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.01213, allocations: 27.92 kB / 257.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.0122, allocations: 66.69 kB / 257.8 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.01232, allocations: 83.05 kB / 257.9 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01232, allocations: 4 kB / 257.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001755/0.0125, allocations: 133.3 kB / 258 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01251, allocations: 7.938 kB / 258 MB, free: 0.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01251, allocations: 4 kB / 258 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01253, allocations: 8 kB / 258.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01266, allocations: 31.97 kB / 258.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01267, allocations: 0 / 258.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.01273, allocations: 19.89 kB / 258.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01274, allocations: 7.984 kB / 258.1 MB, free: 0.5547 MB / 234.7 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 7.451e-05/0.01281, allocations: 164.5 kB / 258.3 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.01284, allocations: 19.91 kB / 258.3 MB, free: 372 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.01308, allocations: 162.3 kB / 258.5 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01308, allocations: 3.938 kB / 258.5 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01308, allocations: 4 kB / 258.5 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01309, allocations: 0 / 258.5 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.01325, allocations: 196.5 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01325, allocations: 0 / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01335, allocations: 39.91 kB / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01336, allocations: 0 / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01337, allocations: 0 / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01337, allocations: 4 kB / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01337, allocations: 3.938 kB / 258.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.01358, allocations: 291 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.01359, allocations: 15.84 kB / 259 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01361, allocations: 15.98 kB / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.01367, allocations: 0 / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.01372, allocations: 23.91 kB / 259 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01373, allocations: 4 kB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.01379, allocations: 155.3 kB / 259.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 259.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01397, allocations: 35.89 kB / 259.2 MB, free: 15.37 MB / 250.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 (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.0001041/0.01408, allocations: 103.2 kB / 259.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01424, allocations: 91.56 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01424, allocations: 0 / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.01431, allocations: 71.58 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.01452, allocations: 19.98 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.0151, allocations: 301.7 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01515, allocations: 79.95 kB / 259.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.01522, allocations: 25.12 kB / 259.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.01527, allocations: 28.48 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01527, allocations: 4 kB / 259.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of Templates: time 0.003651/0.01892, allocations: 1.903 MB / 261.8 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.701074647018686]