Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 177.1 MB / 204.7 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 62.03 kB / 325.5 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.13, allocations: 53.39 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003055/0.1331, allocations: 1.678 MB / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1345, allocations: 0.7127 MB / 381.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.1346, allocations: 4 kB / 381.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1348, allocations: 51.7 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.135, allocations: 39.72 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.136, allocations: 474.1 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1363, allocations: 127.6 kB / 382 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1364, allocations: 13.81 kB / 382 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.1365, allocations: 67.69 kB / 382 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1367, allocations: 83.67 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1367, allocations: 8 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.137, allocations: 123.8 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.079e-05/0.1371, allocations: 35.84 kB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.1372, allocations: 51.66 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1375, allocations: 203.2 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1375, allocations: 0 / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1375, allocations: 3.938 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1375, allocations: 0 / 382.5 MB, free: 12 MB / 350.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.001251/0.1388, allocations: 461.4 kB / 383 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1388, allocations: 12.03 kB / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/0.1394, allocations: 108.7 kB / 383.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1397, allocations: 164.3 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1397, allocations: 16.36 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1397, allocations: 4.375 kB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1401, allocations: 161.9 kB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1401, allocations: 3.938 kB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1401, allocations: 8 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1402, allocations: 4 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.1406, allocations: 151.9 kB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.1415, allocations: 472 kB / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.1419, allocations: 138.6 kB / 384.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1421, allocations: 64.75 kB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1421, allocations: 3.984 kB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1422, allocations: 38.5 kB / 384.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1422, allocations: 0 / 384.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005947/0.1428, allocations: 209.7 kB / 384.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1428, allocations: 59.34 kB / 384.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.143, allocations: 183.2 kB / 384.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.143, allocations: 29.7 kB / 384.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.1431, allocations: 127.9 kB / 384.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1431, allocations: 31.73 kB / 384.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.1432, allocations: 33.67 kB / 385 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1434, allocations: 322.8 kB / 385.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1435, allocations: 59.95 kB / 385.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1437, allocations: 92.19 kB / 385.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.1441, allocations: 156.2 kB / 385.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1441, allocations: 0 / 385.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004108/0.1445, allocations: 197.4 kB / 385.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1445, allocations: 4.469 kB / 385.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1445, allocations: 8 kB / 385.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1445, allocations: 0 / 385.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1447, allocations: 31.92 kB / 385.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1447, allocations: 0 / 385.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1448, allocations: 27.94 kB / 385.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1448, allocations: 8 kB / 385.9 MB, free: 8.469 MB / 350.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.0001213/0.145, allocations: 125.8 kB / 386 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.145, allocations: 19.84 kB / 386 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.1454, allocations: 186.9 kB / 386.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1455, allocations: 4 kB / 386.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1455, allocations: 0 / 386.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1455, allocations: 0 / 386.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1457, allocations: 177.2 kB / 386.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1457, allocations: 0 / 386.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1458, allocations: 27.98 kB / 386.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1458, allocations: 3.938 kB / 386.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1459, allocations: 0 / 386.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1459, allocations: 7.984 kB / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1459, allocations: 0 / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1463, allocations: 259.3 kB / 386.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1464, allocations: 27.89 kB / 386.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1464, allocations: 11.92 kB / 386.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1465, allocations: 4 kB / 386.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1466, allocations: 11.98 kB / 386.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1466, allocations: 7.984 kB / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1467, allocations: 124 kB / 386.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1467, allocations: 0 / 386.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1469, allocations: 28 kB / 386.9 MB, free: 7.398 MB / 350.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.0001423/0.1471, allocations: 115.1 kB / 387 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.1475, allocations: 131.8 kB / 387.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1475, allocations: 3.938 kB / 387.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1477, allocations: 59.95 kB / 387.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.148, allocations: 18.91 kB / 387.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.1486, allocations: 329.9 kB / 387.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.1487, allocations: 114.8 kB / 387.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.48e-05/0.1488, allocations: 32.41 kB / 387.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1488, allocations: 20.48 kB / 387.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1488, allocations: 0 / 387.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of Templates: time 0.004674/0.1535, allocations: 1.58 MB / 389.2 MB, free: 4.984 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3672036019852385]