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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001925/0.001925, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB 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.001834/0.001834, allocations: 67.84 kB / 367.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3077, allocations: 53.31 MB / 420.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002854/0.3106, allocations: 1.512 MB / 422.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3117, allocations: 0.5091 MB / 422.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.3117, allocations: 0 / 422.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.3118, allocations: 7.922 kB / 422.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3119, allocations: 15.81 kB / 422.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3121, allocations: 43.88 kB / 422.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3123, allocations: 63.78 kB / 422.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.3124, allocations: 8.125 kB / 422.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.3126, allocations: 43.83 kB / 422.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.3126, allocations: 39.78 kB / 422.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3127, allocations: 4 kB / 422.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.3127, allocations: 12 kB / 422.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.3128, allocations: 11.98 kB / 422.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3128, allocations: 27.8 kB / 422.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.313, allocations: 63.72 kB / 423 MB, free: 6.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.313, allocations: 7.938 kB / 423 MB, free: 6.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.313, allocations: 0 / 423 MB, free: 6.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.313, allocations: 0 / 423 MB, free: 6.121 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.0007646/0.3138, allocations: 391.1 kB / 423.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3138, allocations: 12.02 kB / 423.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.3142, allocations: 32.86 kB / 423.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3145, allocations: 188.3 kB / 423.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3145, allocations: 384 / 423.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3145, allocations: 384 / 423.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3148, allocations: 88.34 kB / 423.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3148, allocations: 3.938 kB / 423.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3148, allocations: 8 kB / 423.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3148, allocations: 4 kB / 423.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.3151, allocations: 55.94 kB / 423.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3153, allocations: 191.4 kB / 424 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.3156, allocations: 103.7 kB / 424.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3157, allocations: 46.61 kB / 424.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.3158, allocations: 7.938 kB / 424.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3158, allocations: 34.5 kB / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3158, allocations: 0 / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000516/0.3163, allocations: 141.9 kB / 424.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.3164, allocations: 106.8 kB / 424.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3165, allocations: 129.8 kB / 424.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3166, allocations: 29.64 kB / 424.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3166, allocations: 88.14 kB / 424.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3167, allocations: 23.81 kB / 424.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3167, allocations: 17.72 kB / 424.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3169, allocations: 318.9 kB / 425 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.317, allocations: 31.97 kB / 425 MB, free: 3.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3171, allocations: 46.55 kB / 425.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3174, allocations: 86.45 kB / 425.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3174, allocations: 0 / 425.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003139/0.3177, allocations: 113.5 kB / 425.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3177, allocations: 14.5 kB / 425.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3177, allocations: 3.938 kB / 425.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3177, allocations: 0 / 425.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3179, allocations: 23.91 kB / 425.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3179, allocations: 0 / 425.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.318, allocations: 11.98 kB / 425.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.318, allocations: 4 kB / 425.3 MB, free: 3.523 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.0001281/0.3181, allocations: 113.8 kB / 425.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3182, allocations: 11.89 kB / 425.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.3182, allocations: 19.81 kB / 425.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3182, allocations: 0 / 425.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3182, allocations: 4 kB / 425.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3182, allocations: 96 / 425.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3184, allocations: 181.6 kB / 425.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3185, allocations: 3.938 kB / 425.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3186, allocations: 27.91 kB / 425.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3186, allocations: 0 / 425.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3186, allocations: 4 kB / 425.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3186, allocations: 4 kB / 425.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3186, allocations: 0 / 425.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.3189, allocations: 134.8 kB / 425.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.319, allocations: 92.98 kB / 425.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3191, allocations: 0 / 425.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3192, allocations: 15.98 kB / 425.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3192, allocations: 11.94 kB / 425.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3192, allocations: 3.984 kB / 425.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.3193, allocations: 95.27 kB / 426 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3193, allocations: 4 kB / 426 MB, free: 2.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002019/0.3195, allocations: 16 kB / 426 MB, free: 2.684 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.000119/0.3196, allocations: 91.25 kB / 426.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.32, allocations: 71.86 kB / 426.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.32, allocations: 0 / 426.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3201, allocations: 44.22 kB / 426.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.3203, allocations: 3.938 kB / 426.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.3209, allocations: 196.6 kB / 426.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3212, allocations: 0.6886 MB / 427.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.3213, allocations: 7.984 kB / 427.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3213, allocations: 11.38 kB / 427.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3213, allocations: 4 kB / 427.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of Templates: time 0.003314/0.3246, allocations: 0.6173 MB / 427.8 MB, free: 0.8906 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches