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.00124/0.00124, allocations: 108.2 kB / 19.04 MB, free: 3.25 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.001296/0.001296, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 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.457/1.457, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001513/0.001513, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3115, allocations: 52.14 MB / 420.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004765/0.3163, allocations: 1.664 MB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3185, allocations: 0.6601 MB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.3186, allocations: 4 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.3189, allocations: 47.73 kB / 423.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.3192, allocations: 31.78 kB / 423.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.3214, allocations: 0.6109 MB / 423.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.3218, allocations: 111.7 kB / 424 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3219, allocations: 21.05 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.3222, allocations: 63.77 kB / 424 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3224, allocations: 79.67 kB / 424.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.3225, allocations: 8 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.3229, allocations: 135.8 kB / 424.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.323, allocations: 39.84 kB / 424.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3231, allocations: 55.66 kB / 424.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.3237, allocations: 220.5 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3237, allocations: 0 / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3237, allocations: 4 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3237, allocations: 0 / 424.6 MB, free: 11.36 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.002632/0.3263, allocations: 0.561 MB / 425.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3264, allocations: 8.031 kB / 425.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.3287, allocations: 168.6 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.329, allocations: 200.1 kB / 425.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.3291, allocations: 16.36 kB / 425.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.3291, allocations: 12.38 kB / 425.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.3298, allocations: 177.8 kB / 425.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3298, allocations: 0 / 425.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3299, allocations: 4 kB / 425.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.3299, allocations: 7.984 kB / 425.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.3306, allocations: 163.9 kB / 425.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3322, allocations: 0.5315 MB / 426.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.3329, allocations: 150.5 kB / 426.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.3333, allocations: 84.8 kB / 426.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.3333, allocations: 11.94 kB / 426.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.3334, allocations: 38.5 kB / 426.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.3334, allocations: 0 / 426.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001173/0.3345, allocations: 259.6 kB / 426.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3346, allocations: 55.41 kB / 427 MB, free: 8.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.3349, allocations: 186.4 kB / 427.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.335, allocations: 29.7 kB / 427.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3351, allocations: 112.2 kB / 427.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.3352, allocations: 51.62 kB / 427.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3353, allocations: 37.69 kB / 427.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3355, allocations: 322.8 kB / 427.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3358, allocations: 67.95 kB / 427.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.3361, allocations: 98.39 kB / 427.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.3367, allocations: 162.5 kB / 428 MB, free: 7.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3367, allocations: 0 / 428 MB, free: 7.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007741/0.3375, allocations: 216.3 kB / 428.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.3375, allocations: 18.89 kB / 428.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3375, allocations: 0 / 428.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3375, allocations: 0 / 428.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.3379, allocations: 43.91 kB / 428.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3379, allocations: 0 / 428.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.3382, allocations: 23.88 kB / 428.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.3382, allocations: 4 kB / 428.3 MB, free: 7.355 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.0002083/0.3384, allocations: 129.9 kB / 428.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.3385, allocations: 27.78 kB / 428.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.3396, allocations: 247 kB / 428.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3396, allocations: 0 / 428.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3396, allocations: 0 / 428.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3396, allocations: 7.984 kB / 428.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.3402, allocations: 273.4 kB / 429 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3402, allocations: 4 kB / 429 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.3406, allocations: 39.91 kB / 429 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.3406, allocations: 3.938 kB / 429.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.3406, allocations: 4 kB / 429.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.3406, allocations: 7.984 kB / 429.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3406, allocations: 0 / 429.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.3416, allocations: 311.3 kB / 429.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3417, allocations: 104.9 kB / 429.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3418, allocations: 0 / 429.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.3421, allocations: 11.98 kB / 429.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3422, allocations: 11.98 kB / 429.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.3422, allocations: 11.98 kB / 429.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.3424, allocations: 140.2 kB / 429.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3424, allocations: 0 / 429.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.343, allocations: 31.95 kB / 429.7 MB, free: 5.91 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.0002388/0.3432, allocations: 115.1 kB / 429.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008464/0.344, allocations: 167.7 kB / 430 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.344, allocations: 0 / 430 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.3444, allocations: 98.81 kB / 430 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.3449, allocations: 15.94 kB / 430.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.3459, allocations: 331.7 kB / 430.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.3465, allocations: 0.7319 MB / 431.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.3467, allocations: 29.41 kB / 431.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3468, allocations: 23.42 kB / 431.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3468, allocations: 0 / 431.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Templates: time 0.007873/0.3547, allocations: 2.039 MB / 433.2 MB, free: 2.328 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 4.573158945888281]