Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001382/0.001382, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001452/0.001452, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 8.051 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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine") [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.002051/0.002051, allocations: 64.77 kB / 379 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3087, allocations: 53.37 MB / 432.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00265/0.3113, allocations: 1.522 MB / 433.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.3123, allocations: 0.5103 MB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.3123, allocations: 4 kB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.3123, allocations: 3.938 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.3124, allocations: 19.8 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3127, allocations: 35.89 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3128, allocations: 71.72 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3128, allocations: 4.188 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.313, allocations: 43.83 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.3131, allocations: 35.84 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3131, allocations: 4 kB / 434.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.3132, allocations: 19.98 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.3132, allocations: 11.92 kB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.3132, allocations: 27.81 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.3133, allocations: 65.55 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3134, allocations: 4 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3134, allocations: 0 / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3134, allocations: 0 / 434.8 MB, free: 4.613 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.0006542/0.314, allocations: 317.7 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3141, allocations: 12.03 kB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.3144, allocations: 32.86 kB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3146, allocations: 118.5 kB / 435.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3146, allocations: 8.375 kB / 435.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.3146, allocations: 4.359 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3149, allocations: 92.28 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3149, allocations: 0 / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3149, allocations: 0 / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3149, allocations: 4 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.3152, allocations: 55.94 kB / 435.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.3154, allocations: 166.5 kB / 435.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.3157, allocations: 99.75 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3158, allocations: 54.55 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3158, allocations: 0 / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3159, allocations: 38.48 kB / 435.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3159, allocations: 0 / 435.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005179/0.3164, allocations: 141.5 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.3164, allocations: 110.7 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3166, allocations: 133.8 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3166, allocations: 30.08 kB / 436.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.3166, allocations: 88.14 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.3167, allocations: 23.78 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3167, allocations: 17.7 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3168, allocations: 318.8 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.317, allocations: 27.97 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3171, allocations: 50.55 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3174, allocations: 82.45 kB / 436.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3174, allocations: 4 kB / 436.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003101/0.3177, allocations: 117.5 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3177, allocations: 4 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3177, allocations: 4 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3177, allocations: 0 / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3179, allocations: 19.97 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3179, allocations: 8.094 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.318, allocations: 11.98 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.318, allocations: 4 kB / 436.9 MB, free: 2.211 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 8.701e-05/0.3181, allocations: 109.8 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.3181, allocations: 11.89 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.3181, allocations: 15.92 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3181, allocations: 3.984 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3181, allocations: 4 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3181, allocations: 4 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3183, allocations: 144.7 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3183, allocations: 3.938 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3184, allocations: 19.92 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3184, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3184, allocations: 3.984 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3184, allocations: 4 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3184, allocations: 3.984 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3187, allocations: 142.7 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.3187, allocations: 15.89 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.3188, allocations: 0 / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3189, allocations: 12.12 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3189, allocations: 23.91 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3189, allocations: 3.938 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.319, allocations: 101.8 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 4 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.3192, allocations: 12 kB / 437.6 MB, free: 1.5 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 8.694e-05/0.3193, allocations: 91.25 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.3196, allocations: 71.88 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3196, allocations: 0 / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3198, allocations: 35.95 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.3199, allocations: 15.88 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.3205, allocations: 193.5 kB / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3208, allocations: 0.6846 MB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.3209, allocations: 8 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.3209, allocations: 19.42 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3209, allocations: 0 / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of Templates: time 0.003118/0.324, allocations: 0.6252 MB / 439.3 MB, free: 15.7 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.706425548531115]