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.001386/0.001386, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3797, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003132/0.3829, allocations: 1.501 MB / 410.7 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3841, allocations: 0.5011 MB / 411.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.3842, allocations: 0 / 411.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.3843, allocations: 3.938 kB / 411.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3844, allocations: 27.78 kB / 411.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3847, allocations: 31.89 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3849, allocations: 75.72 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.385, allocations: 8.172 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3852, allocations: 39.86 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.3853, allocations: 31.83 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.3854, allocations: 4 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.3854, allocations: 19.98 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3855, allocations: 4 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.3855, allocations: 31.8 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.3857, allocations: 63.73 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3857, allocations: 4 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3857, allocations: 0 / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3857, allocations: 0 / 411.6 MB, free: 15.22 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.0007134/0.3865, allocations: 392.2 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3865, allocations: 8.031 kB / 412 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.3869, allocations: 36.81 kB / 412 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3872, allocations: 188.2 kB / 412.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3872, allocations: 4.359 kB / 412.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3872, allocations: 384 / 412.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3875, allocations: 92.34 kB / 412.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3875, allocations: 3.938 kB / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3875, allocations: 0 / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3875, allocations: 4 kB / 412.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3878, allocations: 59.94 kB / 412.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.388, allocations: 183.5 kB / 412.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.3883, allocations: 103.8 kB / 412.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3884, allocations: 50.48 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3884, allocations: 8 kB / 412.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3885, allocations: 42.48 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3885, allocations: 0 / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004762/0.389, allocations: 137.8 kB / 412.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3891, allocations: 114.7 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3892, allocations: 128.6 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3892, allocations: 25.7 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.3893, allocations: 92.14 kB / 413.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3893, allocations: 11.81 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3893, allocations: 17.7 kB / 413.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3895, allocations: 326.9 kB / 413.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3896, allocations: 27.97 kB / 413.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3897, allocations: 46.55 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.39, allocations: 86.45 kB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.39, allocations: 0 / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003009/0.3903, allocations: 117.4 kB / 413.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3903, allocations: 8 kB / 413.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3903, allocations: 0 / 413.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3904, allocations: 4 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3905, allocations: 19.97 kB / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3905, allocations: 0 / 413.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.3906, allocations: 11.98 kB / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3906, allocations: 4 kB / 413.9 MB, free: 12.63 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.936e-05/0.3907, allocations: 117.8 kB / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.3908, allocations: 11.84 kB / 414 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.3908, allocations: 15.83 kB / 414 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3908, allocations: 4.078 kB / 414 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3908, allocations: 3.984 kB / 414 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3908, allocations: 4 kB / 414 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.391, allocations: 185.6 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.391, allocations: 3.938 kB / 414.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3911, allocations: 19.92 kB / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3911, allocations: 4 kB / 414.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3912, allocations: 7.984 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3912, allocations: 0 / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3912, allocations: 4 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3915, allocations: 138.7 kB / 414.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.3916, allocations: 88.95 kB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3916, allocations: 4 kB / 414.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.3917, allocations: 11.98 kB / 414.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3918, allocations: 7.922 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3918, allocations: 7.938 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.3918, allocations: 102.4 kB / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3918, allocations: 0 / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.3921, allocations: 12 kB / 414.6 MB, free: 11.78 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.0001367/0.3922, allocations: 99.23 kB / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3925, allocations: 71.88 kB / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3925, allocations: 0 / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3927, allocations: 44.14 kB / 414.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.3929, allocations: 7.938 kB / 414.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.3934, allocations: 184.9 kB / 415 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3937, allocations: 0.6964 MB / 415.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.3937, allocations: 4 kB / 415.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.3938, allocations: 11.42 kB / 415.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3938, allocations: 0 / 415.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.002864/0.3967, allocations: 0.6171 MB / 416.4 MB, free: 9.992 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/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_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches