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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001973/0.001973, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002443/0.002443, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.3 MB / 257.9 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.86 kB / 378.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.375, allocations: 53.36 MB / 432.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.004486/0.3794, allocations: 1.519 MB / 433.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3811, allocations: 0.5103 MB / 434.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.3812, allocations: 0 / 434.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.147e-05/0.3813, allocations: 11.86 kB / 434.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3814, allocations: 15.86 kB / 434.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3818, allocations: 35.89 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.382, allocations: 79.64 kB / 434.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.3821, allocations: 192 / 434.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.3824, allocations: 43.86 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3825, allocations: 35.83 kB / 434.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3825, allocations: 4 kB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3826, allocations: 19.98 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.3827, allocations: 4 kB / 434.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.3827, allocations: 31.8 kB / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3829, allocations: 61.7 kB / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.383, allocations: 0 / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.383, allocations: 4 kB / 434.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.383, allocations: 0 / 434.5 MB, free: 4.824 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.001007/0.384, allocations: 314 kB / 434.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.384, allocations: 8.031 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.3846, allocations: 36.86 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.385, allocations: 126.4 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.385, allocations: 8.312 kB / 435 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.385, allocations: 4.375 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.3855, allocations: 88.34 kB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3855, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3855, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3855, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.3861, allocations: 71.86 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3864, allocations: 158.5 kB / 435.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.3869, allocations: 99.75 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.3871, allocations: 42.61 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3872, allocations: 8 kB / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.3872, allocations: 38.5 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.3872, allocations: 3.938 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.001001/0.3882, allocations: 141.5 kB / 435.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3883, allocations: 107.2 kB / 435.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3885, allocations: 128.3 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3886, allocations: 29.7 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.3886, allocations: 96.06 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.3887, allocations: 23.78 kB / 436 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.3888, allocations: 13.7 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.389, allocations: 318.8 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3892, allocations: 31.97 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.3895, allocations: 50.53 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.3901, allocations: 86.45 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3901, allocations: 0 / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006741/0.3908, allocations: 113.5 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3908, allocations: 4 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.3908, allocations: 4.094 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3908, allocations: 4 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.3911, allocations: 19.98 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3911, allocations: 3.938 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3913, allocations: 11.98 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.3913, allocations: 3.984 kB / 436.6 MB, free: 2.422 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.0001686/0.3915, allocations: 113.8 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3915, allocations: 11.89 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.3916, allocations: 19.92 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3916, allocations: 96 / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3916, allocations: 0 / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3916, allocations: 7.984 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3918, allocations: 140.7 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.3919, allocations: 11.92 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3921, allocations: 19.98 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3921, allocations: 0 / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3921, allocations: 0 / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.3921, allocations: 4 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3921, allocations: 7.984 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.3927, allocations: 142.7 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.3928, allocations: 19.89 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3928, allocations: 0 / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.393, allocations: 11.98 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.3931, allocations: 7.984 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3931, allocations: 0 / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.3932, allocations: 99.27 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3932, allocations: 3.938 kB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.3936, allocations: 12 kB / 437.3 MB, free: 1.719 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.0001783/0.3938, allocations: 99.23 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006458/0.3944, allocations: 71.88 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3944, allocations: 0 / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.3947, allocations: 36.22 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.395, allocations: 23.92 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.3959, allocations: 193.1 kB / 437.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.3964, allocations: 0.6885 MB / 438.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.3965, allocations: 8 kB / 438.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.3966, allocations: 11.42 kB / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3966, allocations: 0 / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Templates: time 0.005251/0.4018, allocations: 0.6296 MB / 439 MB, free: 15.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.93792818300426]