Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00269/0.00269, allocations: 190.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 47.92 kB / 370.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3084, allocations: 52.18 MB / 423 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002796/0.3112, allocations: 1.481 MB / 424.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.312, allocations: 425.6 kB / 424.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.3121, allocations: 0 / 424.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.3121, allocations: 3.938 kB / 424.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3122, allocations: 23.8 kB / 425 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3124, allocations: 35.89 kB / 425 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3125, allocations: 67.72 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.3126, allocations: 4 kB / 425.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.3127, allocations: 35.84 kB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3128, allocations: 35.83 kB / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3129, allocations: 4 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.3129, allocations: 4 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.3129, allocations: 4 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.313, allocations: 23.86 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3131, allocations: 59.59 kB / 425.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3131, allocations: 4 kB / 425.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3131, allocations: 0 / 425.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3131, allocations: 0 / 425.2 MB, free: 12.26 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.0008679/0.314, allocations: 315.4 kB / 425.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3141, allocations: 8.031 kB / 425.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3141, allocations: 8.891 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3143, allocations: 130 kB / 425.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3143, allocations: 384 / 425.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3143, allocations: 3.938 kB / 425.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.3147, allocations: 96.16 kB / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3147, allocations: 3.938 kB / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3147, allocations: 0 / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3147, allocations: 0 / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.3151, allocations: 63.88 kB / 425.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.3153, allocations: 127.1 kB / 426 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.3157, allocations: 103.8 kB / 426.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3159, allocations: 42.61 kB / 426.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3159, allocations: 7.938 kB / 426.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.316, allocations: 34.56 kB / 426.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.316, allocations: 0 / 426.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007778/0.3167, allocations: 145.4 kB / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.3168, allocations: 106.8 kB / 426.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3171, allocations: 130.1 kB / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3171, allocations: 25.7 kB / 426.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.3172, allocations: 96.5 kB / 426.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.3172, allocations: 19.89 kB / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3173, allocations: 21.7 kB / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3175, allocations: 310.8 kB / 427 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3177, allocations: 27.97 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3179, allocations: 54.53 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.3182, allocations: 86.45 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3183, allocations: 0 / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004665/0.3187, allocations: 105.5 kB / 427.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3187, allocations: 14.17 kB / 427.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3187, allocations: 4.094 kB / 427.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3188, allocations: 0 / 427.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.319, allocations: 19.98 kB / 427.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.319, allocations: 0 / 427.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3191, allocations: 15.94 kB / 427.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3191, allocations: 4 kB / 427.3 MB, free: 9.941 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.0001417/0.3193, allocations: 121.8 kB / 427.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3193, allocations: 11.98 kB / 427.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.3193, allocations: 11.95 kB / 427.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3193, allocations: 8 kB / 427.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3193, allocations: 0 / 427.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3193, allocations: 0 / 427.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3195, allocations: 125.2 kB / 427.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3195, allocations: 0 / 427.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3197, allocations: 15.98 kB / 427.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.3197, allocations: 3.938 kB / 427.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3197, allocations: 3.984 kB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3197, allocations: 4 kB / 427.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3197, allocations: 3.938 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.3202, allocations: 146.7 kB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.3202, allocations: 3.938 kB / 427.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3203, allocations: 8 kB / 427.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3204, allocations: 11.98 kB / 427.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3205, allocations: 7.922 kB / 427.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3205, allocations: 4 kB / 427.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3206, allocations: 103.3 kB / 427.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 427.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000371/0.321, allocations: 8 kB / 427.9 MB, free: 9.281 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.0001401/0.3211, allocations: 95.23 kB / 428 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.3215, allocations: 71.88 kB / 428.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3215, allocations: 192 / 428.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3217, allocations: 47.89 kB / 428.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.3219, allocations: 3.938 kB / 428.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/0.3227, allocations: 181.3 kB / 428.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3228, allocations: 75.38 kB / 428.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.483e-05/0.3228, allocations: 8 kB / 428.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.3229, allocations: 11.42 kB / 428.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3229, allocations: 0 / 428.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of Templates: time 0.004169/0.3271, allocations: 0.6603 MB / 429.1 MB, free: 8.082 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.763716695830226]