Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001395/0.001395, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001792/0.001792, allocations: 165.5 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 325 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.021e-05, allocations: 3.875 kB / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002929/0.00296, allocations: 1.68 MB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004411, allocations: 0.7305 MB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.004473, allocations: 3.656 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.004723, allocations: 49.25 kB / 327.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.004933, allocations: 36.56 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.006055, allocations: 481.5 kB / 328 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.00629, allocations: 132.4 kB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.0064, allocations: 19.67 kB / 328.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.006535, allocations: 70.83 kB / 328.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.006766, allocations: 77.39 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.006796, allocations: 13.28 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.007061, allocations: 115.3 kB / 328.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.007137, allocations: 42.25 kB / 328.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.007196, allocations: 34.36 kB / 328.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.007568, allocations: 219.3 kB / 328.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007571, allocations: 0 / 328.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007572, allocations: 0 / 328.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.007582, allocations: 0 / 328.7 MB, free: 14.31 MB / 302.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.001286/0.008868, allocations: 472.5 kB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.008903, allocations: 8.906 kB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.009664, allocations: 102.8 kB / 329.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.009919, allocations: 170 kB / 329.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.009935, allocations: 7.969 kB / 329.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.009963, allocations: 7.125 kB / 329.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.01037, allocations: 166.8 kB / 329.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01038, allocations: 1.656 kB / 329.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.0104, allocations: 4.375 kB / 329.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.01042, allocations: 10.45 kB / 329.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.01086, allocations: 154 kB / 329.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01187, allocations: 469.9 kB / 330.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.0123, allocations: 132 kB / 330.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.0125, allocations: 62.27 kB / 330.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.01252, allocations: 1.219 kB / 330.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.01256, allocations: 36.78 kB / 330.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.01256, allocations: 1.188 kB / 330.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006726/0.01323, allocations: 219.5 kB / 330.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01327, allocations: 52.59 kB / 330.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.01348, allocations: 177.1 kB / 330.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.01351, allocations: 25.7 kB / 330.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01361, allocations: 135.6 kB / 331.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.01364, allocations: 32.17 kB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.01371, allocations: 36.06 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01385, allocations: 322.5 kB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.01404, allocations: 56.92 kB / 331.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.01427, allocations: 93.66 kB / 331.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.01466, allocations: 154 kB / 331.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01467, allocations: 1.062 kB / 331.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004851/0.01515, allocations: 196.3 kB / 331.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01517, allocations: 9.797 kB / 331.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01517, allocations: 1.406 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.01519, allocations: 6.562 kB / 332 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01538, allocations: 25.52 kB / 332 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01538, allocations: 2.219 kB / 332 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01551, allocations: 15.28 kB / 332 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.01553, allocations: 11.88 kB / 332 MB, free: 11.99 MB / 302.1 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.0001321/0.01566, allocations: 136.1 kB / 332.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.01571, allocations: 10.3 kB / 332.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.01621, allocations: 187.8 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.01621, allocations: 9.062 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01622, allocations: 1.125 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01622, allocations: 0 / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01647, allocations: 175.2 kB / 332.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01647, allocations: 0 / 332.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.01664, allocations: 34.36 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01665, allocations: 1.062 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01666, allocations: 1.281 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01666, allocations: 0 / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01666, allocations: 5.406 kB / 332.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.01714, allocations: 255.9 kB / 332.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.01723, allocations: 19.78 kB / 332.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.01726, allocations: 5.188 kB / 332.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.01741, allocations: 12.39 kB / 332.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.01746, allocations: 11.39 kB / 332.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01747, allocations: 6.25 kB / 332.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.0176, allocations: 138.3 kB / 333 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0176, allocations: 0 / 333 MB, free: 11.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.01789, allocations: 33.73 kB / 333 MB, free: 11.19 MB / 302.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 (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.0001614/0.01805, allocations: 113.9 kB / 333.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.01849, allocations: 130.6 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01849, allocations: 1.281 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.01868, allocations: 62.47 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.019, allocations: 23.3 kB / 333.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.01968, allocations: 313 kB / 333.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.0198, allocations: 113.5 kB / 333.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.01991, allocations: 29.28 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.01997, allocations: 15.19 kB / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01997, allocations: 0 / 333.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Templates: time 0.005579/0.02555, allocations: 1.584 MB / 335.4 MB, free: 9.832 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.4593071937561035]