Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 47.91 kB / 379 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.312, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003227/0.3152, allocations: 1.519 MB / 433.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.3162, allocations: 0.5065 MB / 434.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3163, allocations: 4 kB / 434.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3163, allocations: 3.938 kB / 434.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3164, allocations: 23.78 kB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3166, allocations: 31.91 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3168, allocations: 75.64 kB / 434.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3168, allocations: 4.172 kB / 434.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.317, allocations: 39.92 kB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.3171, allocations: 35.83 kB / 434.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3171, allocations: 8 kB / 434.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.3172, allocations: 19.94 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.3172, allocations: 7.984 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3172, allocations: 35.73 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3174, allocations: 59.59 kB / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3174, allocations: 0 / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3174, allocations: 0 / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3174, allocations: 0 / 434.7 MB, free: 4.562 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.0006708/0.3181, allocations: 319.4 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3181, allocations: 8.031 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.3184, allocations: 32.86 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3187, allocations: 137.4 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3187, allocations: 384 / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3187, allocations: 4.375 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.319, allocations: 96.28 kB / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.319, allocations: 0 / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.319, allocations: 0 / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.319, allocations: 0 / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.3193, allocations: 59.94 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.3195, allocations: 166.5 kB / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3198, allocations: 95.8 kB / 435.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3199, allocations: 50.55 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3199, allocations: 4 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.32, allocations: 38.5 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.32, allocations: 0 / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005189/0.3205, allocations: 141.5 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.3206, allocations: 110.8 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3207, allocations: 125.8 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3207, allocations: 25.7 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3208, allocations: 96.52 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3208, allocations: 19.83 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.3209, allocations: 13.72 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.321, allocations: 322.8 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3211, allocations: 27.97 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3213, allocations: 50.55 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.3215, allocations: 86.39 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3215, allocations: 0 / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003081/0.3218, allocations: 117.5 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3218, allocations: 4 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3218, allocations: 0 / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3219, allocations: 4 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.322, allocations: 23.97 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.322, allocations: 0 / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.3221, allocations: 16.08 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3221, allocations: 4 kB / 436.9 MB, free: 2.164 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.12e-05/0.3222, allocations: 113.8 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.3222, allocations: 11.89 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3223, allocations: 19.91 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3223, allocations: 0 / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3223, allocations: 0 / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3223, allocations: 4 kB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3224, allocations: 148.7 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3224, allocations: 11.88 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3225, allocations: 19.97 kB / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3225, allocations: 0 / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3225, allocations: 0 / 437.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3225, allocations: 4 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3225, allocations: 0 / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3229, allocations: 142.8 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.3229, allocations: 23.88 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3229, allocations: 3.938 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.323, allocations: 11.98 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3231, allocations: 8 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3231, allocations: 3.984 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.3231, allocations: 102.1 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0 / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.3233, allocations: 12 kB / 437.5 MB, free: 1.457 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.0001094/0.3235, allocations: 91.25 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.3238, allocations: 79.86 kB / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3238, allocations: 0 / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3239, allocations: 31.97 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.3241, allocations: 15.88 kB / 437.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.3246, allocations: 227.2 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.325, allocations: 0.6846 MB / 438.7 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.325, allocations: 15.44 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.325, allocations: 0 / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of Templates: time 0.002467/0.3275, allocations: 0.9143 MB / 439.6 MB, free: 15.33 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.957076448015869]