Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008796/0.008796, allocations: 106.6 kB / 21.98 MB, free: 5.223 MB / 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.002276/0.002276, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 259 MB, free: 8.062 MB / 206.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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 379.8 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2537, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003194/0.2569, allocations: 1.726 MB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2584, allocations: 0.771 MB / 435.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.2584, allocations: 0 / 435.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2587, allocations: 55.7 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2589, allocations: 51.64 kB / 435.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2599, allocations: 0.4941 MB / 436.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.2601, allocations: 127.6 kB / 436.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2602, allocations: 17.73 kB / 436.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2603, allocations: 67.72 kB / 436.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2605, allocations: 87.64 kB / 436.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2606, allocations: 12 kB / 436.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.2608, allocations: 123.9 kB / 436.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.2609, allocations: 43.78 kB / 436.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.2609, allocations: 59.59 kB / 436.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.2613, allocations: 204.3 kB / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2613, allocations: 0 / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2613, allocations: 0 / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2613, allocations: 0 / 437 MB, free: 3.145 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.001303/0.2626, allocations: 469.3 kB / 437.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2626, allocations: 12.03 kB / 437.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.2633, allocations: 100.7 kB / 437.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2635, allocations: 170.2 kB / 437.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.2636, allocations: 8.375 kB / 437.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.2636, allocations: 12.36 kB / 437.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.264, allocations: 162.6 kB / 437.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.264, allocations: 0 / 437.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.264, allocations: 8 kB / 437.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.264, allocations: 4 kB / 437.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.2644, allocations: 159.9 kB / 438.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2654, allocations: 0.5266 MB / 438.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.2658, allocations: 134.6 kB / 438.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.266, allocations: 68.75 kB / 438.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.266, allocations: 4 kB / 438.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2661, allocations: 34.69 kB / 438.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2661, allocations: 0 / 438.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006135/0.2667, allocations: 213.4 kB / 439 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2667, allocations: 55.41 kB / 439.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.2669, allocations: 215.1 kB / 439.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.267, allocations: 25.7 kB / 439.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.267, allocations: 124.2 kB / 439.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.2671, allocations: 35.69 kB / 439.5 MB, free: 488 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.2671, allocations: 29.7 kB / 439.5 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2673, allocations: 326.8 kB / 439.8 MB, free: 116 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2674, allocations: 64.33 kB / 439.9 MB, free: 52 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2676, allocations: 92.31 kB / 440 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.268, allocations: 160 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.268, allocations: 0 / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004173/0.2684, allocations: 197.3 kB / 440.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2684, allocations: 8 kB / 440.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2684, allocations: 128 / 440.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2684, allocations: 4 kB / 440.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2686, allocations: 31.98 kB / 440.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.2686, allocations: 4 kB / 440.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2687, allocations: 15.88 kB / 440.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2688, allocations: 4 kB / 440.4 MB, free: 15.5 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.0001238/0.2689, allocations: 137.8 kB / 440.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.2689, allocations: 23.8 kB / 440.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.2694, allocations: 182.9 kB / 440.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2694, allocations: 4 kB / 440.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2694, allocations: 0 / 440.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2694, allocations: 0 / 440.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2697, allocations: 220.5 kB / 440.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2697, allocations: 0 / 440.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2698, allocations: 31.92 kB / 441 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2698, allocations: 0 / 441 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2698, allocations: 7.984 kB / 441 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2698, allocations: 0 / 441 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2698, allocations: 4 kB / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.2703, allocations: 263.2 kB / 441.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.2703, allocations: 27.89 kB / 441.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.2704, allocations: 4 kB / 441.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2705, allocations: 15.98 kB / 441.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2705, allocations: 7.922 kB / 441.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2705, allocations: 4.094 kB / 441.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.2707, allocations: 156.4 kB / 441.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2707, allocations: 0 / 441.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.271, allocations: 31.95 kB / 441.5 MB, free: 14.33 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.0001393/0.2711, allocations: 107.2 kB / 441.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.2715, allocations: 131.8 kB / 441.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2715, allocations: 3.938 kB / 441.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2717, allocations: 63.89 kB / 441.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.272, allocations: 32.5 kB / 441.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.2727, allocations: 348.1 kB / 442.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.273, allocations: 0.7278 MB / 442.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.2731, allocations: 15.44 kB / 442.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2731, allocations: 0 / 442.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Templates: time 0.00421/0.2773, allocations: 2.036 MB / 444.9 MB, free: 10.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 7.234040789771825]