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.001676/0.001676, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002085/0.002085, allocations: 213.1 kB / 23 MB, free: 5.574 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.515/1.515, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001891/0.001891, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002616/0.32, allocations: 1.507 MB / 431.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.3209, allocations: 0.5143 MB / 431.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.321, allocations: 4 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.321, allocations: 3.938 kB / 431.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.3211, allocations: 19.78 kB / 431.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3213, allocations: 35.91 kB / 431.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3214, allocations: 75.64 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3215, allocations: 8.172 kB / 431.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3217, allocations: 39.86 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.3218, allocations: 35.84 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3218, allocations: 4 kB / 432 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.3218, allocations: 15.97 kB / 432 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3218, allocations: 4 kB / 432 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.3219, allocations: 31.8 kB / 432.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.322, allocations: 63.59 kB / 432.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.322, allocations: 4 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.322, allocations: 0 / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3221, allocations: 0 / 432.1 MB, free: 5.172 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.0006671/0.3227, allocations: 392.5 kB / 432.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3228, allocations: 12.03 kB / 432.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3231, allocations: 32.86 kB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3233, allocations: 184.2 kB / 432.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3233, allocations: 4.375 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.3233, allocations: 4.375 kB / 432.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3236, allocations: 88.28 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3236, allocations: 0 / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3236, allocations: 0 / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3236, allocations: 8 kB / 432.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3238, allocations: 59.88 kB / 432.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.3241, allocations: 195.4 kB / 433.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3243, allocations: 99.75 kB / 433.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3245, allocations: 42.61 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3245, allocations: 8 kB / 433.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3245, allocations: 42.48 kB / 433.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3245, allocations: 0 / 433.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005334/0.3251, allocations: 145.8 kB / 433.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.3252, allocations: 102.8 kB / 433.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3253, allocations: 128.6 kB / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3253, allocations: 29.64 kB / 433.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.3254, allocations: 92.14 kB / 433.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.3254, allocations: 19.84 kB / 433.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3255, allocations: 13.7 kB / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3256, allocations: 322.8 kB / 434.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3257, allocations: 32 kB / 434.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3259, allocations: 46.55 kB / 434.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3261, allocations: 90.39 kB / 434.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3261, allocations: 0 / 434.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003094/0.3264, allocations: 113.5 kB / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3265, allocations: 8.094 kB / 434.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3265, allocations: 0 / 434.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3265, allocations: 4 kB / 434.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3266, allocations: 23.97 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3266, allocations: 3.984 kB / 434.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.3267, allocations: 11.98 kB / 434.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3267, allocations: 0 / 434.5 MB, free: 2.578 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.058e-05/0.3268, allocations: 117.8 kB / 434.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3269, allocations: 15.89 kB / 434.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3269, allocations: 19.81 kB / 434.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3269, allocations: 0 / 434.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3269, allocations: 4 kB / 434.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3269, allocations: 4 kB / 434.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3271, allocations: 173.6 kB / 434.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3271, allocations: 7.938 kB / 434.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3272, allocations: 15.98 kB / 434.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3272, allocations: 3.984 kB / 434.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3272, allocations: 4 kB / 434.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3272, allocations: 0 / 434.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3272, allocations: 4 kB / 434.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.3276, allocations: 146.8 kB / 435 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.3276, allocations: 89 kB / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3276, allocations: 3.984 kB / 435.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.3277, allocations: 8 kB / 435.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3278, allocations: 3.984 kB / 435.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3278, allocations: 4 kB / 435.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.3279, allocations: 103.2 kB / 435.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 435.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.3281, allocations: 16 kB / 435.2 MB, free: 1.738 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.0001187/0.3282, allocations: 91.25 kB / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.3285, allocations: 71.88 kB / 435.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3285, allocations: 3.938 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3287, allocations: 44.14 kB / 435.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.3288, allocations: 15.88 kB / 435.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.3294, allocations: 184.8 kB / 435.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3297, allocations: 0.6964 MB / 436.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3297, allocations: 4 kB / 436.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.3298, allocations: 11.42 kB / 436.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3298, allocations: 0 / 436.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of Templates: time 0.002936/0.3327, allocations: 0.636 MB / 436.9 MB, free: 15.93 MB / 350.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.7489051558077335]