Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002273/0.002273, allocations: 102.7 kB / 21.93 MB, free: 5.203 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.002869/0.002869, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 49.16 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002637/0.2512, allocations: 1.563 MB / 399.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2524, allocations: 0.6496 MB / 399.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.2524, allocations: 2.656 kB / 399.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.2527, allocations: 48.95 kB / 399.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.2529, allocations: 40.41 kB / 399.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2539, allocations: 0.5953 MB / 400.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2541, allocations: 108.2 kB / 400.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2542, allocations: 31.03 kB / 400.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2543, allocations: 57.17 kB / 400.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2545, allocations: 74.41 kB / 400.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2545, allocations: 8.906 kB / 400.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2547, allocations: 112 kB / 400.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.2548, allocations: 40.36 kB / 400.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2548, allocations: 47.33 kB / 400.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.2551, allocations: 220.8 kB / 401.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2551, allocations: 0 / 401.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2551, allocations: 0 / 401.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2551, allocations: 5 kB / 401.2 MB, free: 7.199 MB / 318.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.001419/0.2566, allocations: 0.489 MB / 401.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2566, allocations: 13.2 kB / 401.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.258, allocations: 187.1 kB / 401.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.2582, allocations: 162.8 kB / 402 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2582, allocations: 8.609 kB / 402 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.2583, allocations: 19.22 kB / 402 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.2587, allocations: 175.2 kB / 402.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2588, allocations: 1.312 kB / 402.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.2588, allocations: 5.156 kB / 402.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.2588, allocations: 5 kB / 402.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.2592, allocations: 161.3 kB / 402.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.26, allocations: 450.8 kB / 402.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2605, allocations: 155.2 kB / 403 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2607, allocations: 83.84 kB / 403 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2607, allocations: 8.75 kB / 403.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2607, allocations: 32.69 kB / 403.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.2607, allocations: 0 / 403.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006604/0.2614, allocations: 265.9 kB / 403.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2614, allocations: 58 kB / 403.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2615, allocations: 151.7 kB / 403.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2616, allocations: 26.27 kB / 403.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.2616, allocations: 123.4 kB / 403.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.2616, allocations: 41.67 kB / 403.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.2617, allocations: 41.66 kB / 403.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.2618, allocations: 323.1 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.2619, allocations: 62.59 kB / 404.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2621, allocations: 96.5 kB / 404.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.2625, allocations: 165.7 kB / 404.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2625, allocations: 1.031 kB / 404.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004372/0.2629, allocations: 212.2 kB / 404.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2629, allocations: 9.625 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2629, allocations: 1.938 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2629, allocations: 0.9688 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2632, allocations: 33.31 kB / 404.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2632, allocations: 2.531 kB / 404.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2633, allocations: 20.48 kB / 404.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2633, allocations: 6.688 kB / 404.7 MB, free: 4.992 MB / 318.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 9.029e-05/0.2634, allocations: 131 kB / 404.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2635, allocations: 21.92 kB / 404.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.264, allocations: 241.1 kB / 405.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.264, allocations: 2.406 kB / 405.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.264, allocations: 0.6562 kB / 405.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.264, allocations: 0.75 kB / 405.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2642, allocations: 197.7 kB / 405.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2642, allocations: 0.5156 kB / 405.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2644, allocations: 41.94 kB / 405.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2645, allocations: 3.938 kB / 405.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2645, allocations: 11.34 kB / 405.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2645, allocations: 6.125 kB / 405.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2645, allocations: 0 / 405.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.2649, allocations: 317 kB / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.265, allocations: 15.36 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.265, allocations: 9.219 kB / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2651, allocations: 11.02 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.2652, allocations: 13.09 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2652, allocations: 5.391 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.2653, allocations: 126.5 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2653, allocations: 1.031 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.2656, allocations: 34.3 kB / 405.9 MB, free: 4.238 MB / 318.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.0001221/0.2657, allocations: 104.2 kB / 406 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.2661, allocations: 172.1 kB / 406.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2661, allocations: 0 / 406.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2663, allocations: 91.39 kB / 406.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.2666, allocations: 19.02 kB / 406.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.2672, allocations: 330.4 kB / 406.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.491e-05/0.2673, allocations: 117.5 kB / 406.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.2674, allocations: 29.23 kB / 406.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2674, allocations: 3.938 kB / 406.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of Templates: time 0.004131/0.2715, allocations: 2.113 MB / 408.8 MB, free: 3.16 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.192506935913116]