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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2991, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002964/0.3021, allocations: 1.509 MB / 411.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.3032, allocations: 0.5011 MB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.3033, allocations: 0 / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.3033, allocations: 3.938 kB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.3035, allocations: 23.8 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3037, allocations: 35.89 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3039, allocations: 67.72 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.513e-05/0.3039, allocations: 12.11 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3041, allocations: 43.91 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.3042, allocations: 31.84 kB / 412.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3043, allocations: 4 kB / 412.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.3043, allocations: 15.98 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.3044, allocations: 11.92 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.3044, allocations: 31.8 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3046, allocations: 59.8 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3046, allocations: 0 / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3046, allocations: 4 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3046, allocations: 0 / 412.3 MB, free: 15.18 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.0006572/0.3053, allocations: 392.2 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3053, allocations: 8.031 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/0.3057, allocations: 32.81 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3059, allocations: 187.2 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.306, allocations: 384 / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.306, allocations: 8.375 kB / 412.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3063, allocations: 92.28 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3063, allocations: 3.938 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3063, allocations: 0 / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3063, allocations: 0 / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.3066, allocations: 67.92 kB / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.3068, allocations: 187.4 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3071, allocations: 103.8 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3072, allocations: 46.55 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3073, allocations: 4 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3073, allocations: 38.5 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.3073, allocations: 4 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005331/0.3078, allocations: 137.4 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3079, allocations: 107.1 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.308, allocations: 133.8 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.308, allocations: 25.7 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3081, allocations: 96.12 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3081, allocations: 7.812 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3082, allocations: 21.7 kB / 413.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3083, allocations: 318.8 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3084, allocations: 27.97 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3086, allocations: 54.53 kB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.3088, allocations: 86.45 kB / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3089, allocations: 0 / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003207/0.3092, allocations: 121.3 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3092, allocations: 4 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3092, allocations: 0 / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3092, allocations: 4 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3094, allocations: 20.17 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3094, allocations: 0 / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3095, allocations: 11.98 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3096, allocations: 3.984 kB / 414.6 MB, free: 12.59 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 8.947e-05/0.3097, allocations: 121.8 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3097, allocations: 11.84 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.3097, allocations: 15.83 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3097, allocations: 4 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3097, allocations: 0 / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.3098, allocations: 92.94 kB / 414.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3098, allocations: 4 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3099, allocations: 11.98 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.31, allocations: 7.938 kB / 414.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004893/0.3105, allocations: 351.3 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004282/0.3109, allocations: 425.4 kB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001407/0.3111, allocations: 35.91 kB / 415.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.74e-05/0.3112, allocations: 113.8 kB / 415.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Backend: time 5.11e-07/0.3112, allocations: 4 kB / 415.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.3118, allocations: 114.4 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005003/0.3123, allocations: 0.5978 MB / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.003593/0.316, allocations: 0.9641 MB / 417.4 MB, free: 9.629 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches