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.0008035/0.0008035, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.002941/0.002941, allocations: 153.2 kB / 24.69 MB, free: 9.434 MB / 18.57 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 0.807/0.807, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.649e-05, allocations: 2.281 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001943/0.001969, allocations: 1.603 MB / 321.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.002763, allocations: 0.6075 MB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.002812, allocations: 0 / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.003034, allocations: 47.67 kB / 321.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.003197, allocations: 47.59 kB / 322 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.003912, allocations: 0.5589 MB / 322.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004079, allocations: 111.7 kB / 322.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.004171, allocations: 21.28 kB / 322.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.004307, allocations: 83.73 kB / 322.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.00443, allocations: 63.86 kB / 322.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.00445, allocations: 8 kB / 322.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.004588, allocations: 103.8 kB / 322.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.004639, allocations: 39.83 kB / 322.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.004676, allocations: 35.91 kB / 323 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.00493, allocations: 219.4 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004933, allocations: 0 / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004934, allocations: 0 / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004938, allocations: 3.938 kB / 323.2 MB, free: 2.312 MB / 282.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.0009656/0.005903, allocations: 497.3 kB / 323.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.005938, allocations: 12.92 kB / 323.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.006603, allocations: 172.6 kB / 323.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.006779, allocations: 157.5 kB / 324 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.006795, allocations: 8.375 kB / 324 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.006815, allocations: 12.38 kB / 324 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.007086, allocations: 182.1 kB / 324.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.007095, allocations: 192 / 324.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.007109, allocations: 384 / 324.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.007131, allocations: 19.94 kB / 324.2 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.007363, allocations: 159.9 kB / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.007943, allocations: 432 kB / 324.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.008174, allocations: 162.4 kB / 325 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.008288, allocations: 88.8 kB / 325.1 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.008307, allocations: 0 / 325.1 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.008328, allocations: 34.56 kB / 325.1 MB, free: 312 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.00833, allocations: 0 / 325.1 MB, free: 312 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004175/0.008747, allocations: 261.7 kB / 325.3 MB, free: 44 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.008793, allocations: 55.34 kB / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.008896, allocations: 156.8 kB / 325.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.008912, allocations: 29.7 kB / 325.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.008971, allocations: 119.9 kB / 325.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.008995, allocations: 51.52 kB / 325.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.009042, allocations: 33.7 kB / 325.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.009122, allocations: 326.8 kB / 326.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.009228, allocations: 67.94 kB / 326.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.009336, allocations: 94.45 kB / 326.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.009552, allocations: 169.2 kB / 326.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009554, allocations: 0 / 326.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002626/0.009816, allocations: 213.4 kB / 326.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009831, allocations: 4 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009837, allocations: 0 / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.009852, allocations: 7.938 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.009974, allocations: 31.97 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.00998, allocations: 4.047 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.01004, allocations: 19.95 kB / 326.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01005, allocations: 7.984 kB / 326.7 MB, free: 14.61 MB / 298.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 8.038e-05/0.01013, allocations: 137.7 kB / 326.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.01016, allocations: 11.95 kB / 326.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.0105, allocations: 245 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.0105, allocations: 3.938 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01051, allocations: 0 / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01051, allocations: 4 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01067, allocations: 185.2 kB / 327.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01067, allocations: 8 kB / 327.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01078, allocations: 43.91 kB / 327.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01079, allocations: 0 / 327.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.0108, allocations: 3.984 kB / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.0108, allocations: 0 / 327.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.0108, allocations: 7.938 kB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.0111, allocations: 319.2 kB / 327.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01112, allocations: 15.84 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01113, allocations: 4 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.0112, allocations: 11.98 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01125, allocations: 15.91 kB / 327.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.01126, allocations: 8 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.01131, allocations: 118.4 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01131, allocations: 3.938 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.0115, allocations: 27.94 kB / 327.9 MB, free: 13.41 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 (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.0001197/0.01162, allocations: 115.2 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.01189, allocations: 163.8 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01189, allocations: 0 / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01201, allocations: 95.86 kB / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01221, allocations: 20.06 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.01267, allocations: 346.2 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.421e-05/0.01274, allocations: 107.4 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.01281, allocations: 32.47 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01281, allocations: 0 / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Templates: time 0.002693/0.0155, allocations: 2.122 MB / 330.8 MB, free: 10.37 MB / 298.7 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: 3.9032071493566036]