Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.001787/0.001787, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002376/0.002376, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.546/1.546, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 378.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003099/0.3062, allocations: 1.488 MB / 433.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3073, allocations: 482.8 kB / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.3074, allocations: 4 kB / 433.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.3075, allocations: 7.875 kB / 433.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3076, allocations: 15.86 kB / 433.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.3079, allocations: 35.89 kB / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3081, allocations: 71.66 kB / 433.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.3081, allocations: 8.172 kB / 433.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3084, allocations: 43.84 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3085, allocations: 35.84 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3085, allocations: 4 kB / 433.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.3086, allocations: 12 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.3086, allocations: 15.91 kB / 433.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.3086, allocations: 19.92 kB / 433.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3088, allocations: 66.27 kB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3088, allocations: 0 / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3088, allocations: 0 / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3088, allocations: 0 / 433.9 MB, free: 4.254 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007865/0.3096, allocations: 321.7 kB / 434.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.3097, allocations: 11.98 kB / 434.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.31, allocations: 36.8 kB / 434.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.3103, allocations: 126.4 kB / 434.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3103, allocations: 384 / 434.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3103, allocations: 4.375 kB / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.3106, allocations: 92.28 kB / 434.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3106, allocations: 4 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3107, allocations: 3.938 kB / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3107, allocations: 0 / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3109, allocations: 63.88 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.3111, allocations: 135.1 kB / 434.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3114, allocations: 99.75 kB / 434.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3116, allocations: 46.61 kB / 434.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3116, allocations: 0 / 434.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.3116, allocations: 38.56 kB / 434.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3116, allocations: 0 / 434.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005362/0.3122, allocations: 141.5 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3123, allocations: 106.8 kB / 435.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3124, allocations: 132.5 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3124, allocations: 25.7 kB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3125, allocations: 96.12 kB / 435.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3125, allocations: 15.83 kB / 435.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3126, allocations: 21.7 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3127, allocations: 319.1 kB / 435.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3129, allocations: 31.97 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.313, allocations: 50.53 kB / 435.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.3133, allocations: 86.45 kB / 435.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3133, allocations: 4 kB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003106/0.3136, allocations: 101.5 kB / 436 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3136, allocations: 11.92 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3136, allocations: 4 kB / 436 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3136, allocations: 0 / 436 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3138, allocations: 20.08 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3138, allocations: 0 / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.3139, allocations: 11.98 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3139, allocations: 4 kB / 436 MB, free: 1.898 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 (4): * Single equations (assignments): 4 * 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.0001036/0.314, allocations: 117.8 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.314, allocations: 15.83 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.314, allocations: 15.92 kB / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.314, allocations: 0 / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.314, allocations: 4 kB / 436.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.314, allocations: 4 kB / 436.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3142, allocations: 125.2 kB / 436.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3142, allocations: 0 / 436.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3143, allocations: 15.98 kB / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3143, allocations: 0 / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3143, allocations: 7.922 kB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.3143, allocations: 8 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3143, allocations: 0 / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3147, allocations: 154.7 kB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.3147, allocations: 7.953 kB / 436.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3147, allocations: 7.938 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.3148, allocations: 11.98 kB / 436.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.3149, allocations: 3.984 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3149, allocations: 8 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.3149, allocations: 99.25 kB / 436.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3149, allocations: 0 / 436.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.3151, allocations: 8 kB / 436.6 MB, free: 1.227 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001063/0.3153, allocations: 99.25 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3156, allocations: 67.88 kB / 436.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3156, allocations: 0 / 436.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3157, allocations: 48.2 kB / 436.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.3159, allocations: 4 kB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.3165, allocations: 193.1 kB / 437 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.3166, allocations: 71.33 kB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.3166, allocations: 8.062 kB / 437.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.3167, allocations: 19.36 kB / 437.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3167, allocations: 0 / 437.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of Templates: time 0.003713/0.3204, allocations: 0.6568 MB / 437.8 MB, free: 16 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.833836557343602]