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.001624/0.001624, allocations: 113 kB / 21.18 MB, free: 0.5898 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.002058/0.002058, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.563/1.563, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.002189/0.002189, allocations: 63.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3179, allocations: 53.32 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003435/0.3214, allocations: 1.518 MB / 433.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3225, allocations: 0.5065 MB / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.3226, allocations: 0 / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.3226, allocations: 7.938 kB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.3227, allocations: 15.8 kB / 434.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.323, allocations: 35.89 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3232, allocations: 75.66 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.3233, allocations: 8.172 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3235, allocations: 39.91 kB / 434.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.3236, allocations: 35.84 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3236, allocations: 7.938 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.3237, allocations: 12 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.3237, allocations: 11.92 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.3238, allocations: 31.78 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3239, allocations: 61.7 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3239, allocations: 4 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3239, allocations: 4 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.324, allocations: 0 / 434.4 MB, free: 4.992 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.0007769/0.3247, allocations: 391.1 kB / 434.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3248, allocations: 12.03 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.3252, allocations: 32.86 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.3255, allocations: 180.3 kB / 435 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3255, allocations: 4.375 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3255, allocations: 4.375 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3258, allocations: 96.27 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3258, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3258, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3258, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.3261, allocations: 63.94 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.3264, allocations: 187.4 kB / 435.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3267, allocations: 99.81 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.3269, allocations: 46.55 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3269, allocations: 7.984 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3269, allocations: 38.5 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.3269, allocations: 0 / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006026/0.3275, allocations: 141.9 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3276, allocations: 114.7 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3278, allocations: 132.8 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.3278, allocations: 25.7 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.3279, allocations: 92.12 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.328, allocations: 19.83 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.328, allocations: 21.7 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3282, allocations: 314.8 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3284, allocations: 35.95 kB / 436.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3285, allocations: 50.55 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3288, allocations: 82.45 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3288, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003836/0.3292, allocations: 117.5 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3292, allocations: 4 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3292, allocations: 8.094 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3292, allocations: 4 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3294, allocations: 15.98 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3294, allocations: 3.984 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.3295, allocations: 8 kB / 436.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3295, allocations: 3.984 kB / 436.7 MB, free: 2.395 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.0001302/0.3297, allocations: 117.8 kB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3297, allocations: 11.89 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.3297, allocations: 19.83 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3297, allocations: 0 / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3297, allocations: 0 / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3297, allocations: 3.984 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.3299, allocations: 177.6 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.33, allocations: 3.938 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3301, allocations: 15.98 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.3301, allocations: 4 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3301, allocations: 7.984 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3301, allocations: 4 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.3301, allocations: 7.984 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3305, allocations: 134.7 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3306, allocations: 92.94 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3306, allocations: 4 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3307, allocations: 11.98 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3308, allocations: 7.984 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3308, allocations: 7.938 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.3309, allocations: 98.23 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3311, allocations: 12 kB / 437.4 MB, free: 1.566 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.0001469/0.3313, allocations: 103.2 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3316, allocations: 67.88 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3316, allocations: 0 / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3318, allocations: 44.27 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.332, allocations: 11.88 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.3326, allocations: 214.5 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3331, allocations: 0.6885 MB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3331, allocations: 19.48 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3331, allocations: 0 / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of Templates: time 0.002813/0.3359, allocations: 0.9073 MB / 439.5 MB, free: 15.44 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.117338044103235]