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.008605/0.008605, allocations: 107.3 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.002363/0.002363, allocations: 216.4 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.592/1.592, allocations: 230.6 MB / 259 MB, free: 8.047 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.002236/0.002236, allocations: 63.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3114, allocations: 53.37 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003016/0.3144, allocations: 1.513 MB / 434.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3154, allocations: 0.5142 MB / 435.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.3155, allocations: 4 kB / 435.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3155, allocations: 3.938 kB / 435.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3156, allocations: 23.78 kB / 435.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.3158, allocations: 31.91 kB / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3159, allocations: 79.64 kB / 435.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.316, allocations: 4.188 kB / 435.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3162, allocations: 43.84 kB / 435.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.3163, allocations: 35.83 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3163, allocations: 4 kB / 435.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.746e-05/0.3163, allocations: 16 kB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.3163, allocations: 11.98 kB / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3164, allocations: 27.8 kB / 435.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3165, allocations: 63.59 kB / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3165, allocations: 0 / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3165, allocations: 0 / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3165, allocations: 0 / 435.5 MB, free: 4.594 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.0006336/0.3172, allocations: 319.4 kB / 435.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3172, allocations: 12.03 kB / 435.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.3175, allocations: 32.86 kB / 435.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3178, allocations: 126.4 kB / 436 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3178, allocations: 4.375 kB / 436 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3178, allocations: 384 / 436 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.3181, allocations: 96.28 kB / 436.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3181, allocations: 0 / 436.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3181, allocations: 0 / 436.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3181, allocations: 0 / 436.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.3184, allocations: 63.88 kB / 436.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.3186, allocations: 158.5 kB / 436.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3189, allocations: 95.75 kB / 436.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.319, allocations: 58.59 kB / 436.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.319, allocations: 0 / 436.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3191, allocations: 38.5 kB / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3191, allocations: 0 / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005539/0.3196, allocations: 145.5 kB / 436.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3197, allocations: 106.8 kB / 436.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3198, allocations: 125.8 kB / 436.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3198, allocations: 29.7 kB / 436.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3199, allocations: 88.14 kB / 437 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3199, allocations: 20.06 kB / 437 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.32, allocations: 21.7 kB / 437 MB, free: 2.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3201, allocations: 322.8 kB / 437.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3202, allocations: 31.91 kB / 437.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3204, allocations: 50.55 kB / 437.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3206, allocations: 86.45 kB / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3206, allocations: 0 / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003267/0.321, allocations: 117.5 kB / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.321, allocations: 8 kB / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.321, allocations: 0 / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.321, allocations: 0 / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3212, allocations: 19.97 kB / 437.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3212, allocations: 7.984 kB / 437.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.3213, allocations: 8.078 kB / 437.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3213, allocations: 8 kB / 437.7 MB, free: 2.191 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 9.751e-05/0.3214, allocations: 117.8 kB / 437.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3214, allocations: 11.89 kB / 437.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.3214, allocations: 15.91 kB / 437.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3214, allocations: 4 kB / 437.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3214, allocations: 0 / 437.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3214, allocations: 0 / 437.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.3216, allocations: 144.7 kB / 438 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3216, allocations: 3.938 kB / 438 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3217, allocations: 23.97 kB / 438 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3217, allocations: 4 kB / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.3217, allocations: 0 / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3217, allocations: 0 / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3217, allocations: 0 / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.3221, allocations: 154.8 kB / 438.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.3221, allocations: 11.89 kB / 438.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3221, allocations: 7.984 kB / 438.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.3222, allocations: 8 kB / 438.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.3223, allocations: 7.984 kB / 438.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3223, allocations: 4 kB / 438.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.3223, allocations: 105.9 kB / 438.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 438.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.3226, allocations: 12 kB / 438.3 MB, free: 1.488 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 9.81e-05/0.3227, allocations: 91.25 kB / 438.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.323, allocations: 75.98 kB / 438.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.323, allocations: 3.938 kB / 438.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3231, allocations: 39.91 kB / 438.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3233, allocations: 14.8 kB / 438.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.3239, allocations: 227.1 kB / 438.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3242, allocations: 0.6846 MB / 439.4 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.3243, allocations: 15.42 kB / 439.4 MB, free: 284 kB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3243, allocations: 0 / 439.4 MB, free: 284 kB / 334.1 MB Notification: Performance of Templates: time 0.002604/0.3269, allocations: 0.9142 MB / 440.4 MB, free: 15.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/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: 7.30932995909825]