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.001552/0.001552, allocations: 111.9 kB / 19.17 MB, free: 3.91 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.001639/0.001639, allocations: 208.9 kB / 22.13 MB, free: 0.9609 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.379/1.379, allocations: 230.4 MB / 255.4 MB, free: 9.086 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.001906/0.001906, allocations: 71.81 kB / 374.7 MB, free: 4.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2625, allocations: 53.31 MB / 428 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002709/0.2652, allocations: 1.507 MB / 429.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.2661, allocations: 0.5091 MB / 430.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.2661, allocations: 0 / 430.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.2662, allocations: 3.938 kB / 430.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2663, allocations: 27.78 kB / 430.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.2665, allocations: 31.91 kB / 430.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2666, allocations: 75.64 kB / 430.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.2667, allocations: 12.16 kB / 430.2 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2669, allocations: 43.86 kB / 430.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.2669, allocations: 35.83 kB / 430.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.267, allocations: 4 kB / 430.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.267, allocations: 12 kB / 430.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.267, allocations: 7.984 kB / 430.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.2671, allocations: 31.8 kB / 430.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2672, allocations: 59.59 kB / 430.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2672, allocations: 4 kB / 430.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2672, allocations: 0 / 430.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2672, allocations: 0 / 430.4 MB, free: 5.73 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.0006567/0.2679, allocations: 395.5 kB / 430.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2679, allocations: 8.031 kB / 430.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.2682, allocations: 32.86 kB / 430.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2684, allocations: 188.2 kB / 431 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.2684, allocations: 384 / 431 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2685, allocations: 12.36 kB / 431 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.2687, allocations: 92.28 kB / 431.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2687, allocations: 0 / 431.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2688, allocations: 0 / 431.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2688, allocations: 0 / 431.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.269, allocations: 67.88 kB / 431.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.2692, allocations: 187.4 kB / 431.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2695, allocations: 103.8 kB / 431.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2697, allocations: 42.61 kB / 431.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2697, allocations: 0 / 431.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2697, allocations: 46.48 kB / 431.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2697, allocations: 4 kB / 431.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005411/0.2703, allocations: 133.5 kB / 431.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.2703, allocations: 106.8 kB / 431.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2705, allocations: 132.9 kB / 431.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2705, allocations: 29.69 kB / 431.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.2705, allocations: 92.14 kB / 432 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.2706, allocations: 11.84 kB / 432 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.2706, allocations: 25.64 kB / 432.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2707, allocations: 326.8 kB / 432.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2709, allocations: 27.97 kB / 432.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.271, allocations: 50.55 kB / 432.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.2713, allocations: 86.45 kB / 432.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2713, allocations: 0 / 432.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000342/0.2717, allocations: 113.5 kB / 432.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2717, allocations: 4 kB / 432.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2717, allocations: 4 kB / 432.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2717, allocations: 4 kB / 432.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2718, allocations: 20.08 kB / 432.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2718, allocations: 3.984 kB / 432.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.2719, allocations: 8 kB / 432.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2719, allocations: 3.984 kB / 432.7 MB, free: 3.137 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.767e-05/0.272, allocations: 117.8 kB / 432.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.2721, allocations: 11.89 kB / 432.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.2721, allocations: 15.83 kB / 432.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2721, allocations: 4 kB / 432.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2721, allocations: 3.984 kB / 432.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2721, allocations: 0 / 432.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2722, allocations: 181.6 kB / 433 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2723, allocations: 3.938 kB / 433 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2724, allocations: 15.98 kB / 433.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2724, allocations: 4 kB / 433.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2724, allocations: 3.984 kB / 433.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2724, allocations: 0 / 433.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2724, allocations: 0 / 433.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.2727, allocations: 146.8 kB / 433.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2728, allocations: 85 kB / 433.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2728, allocations: 4 kB / 433.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2729, allocations: 15.98 kB / 433.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.273, allocations: 7.984 kB / 433.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.273, allocations: 4 kB / 433.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.273, allocations: 99.27 kB / 433.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.273, allocations: 0 / 433.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.2732, allocations: 8 kB / 433.4 MB, free: 2.309 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.0001007/0.2733, allocations: 99.23 kB / 433.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.2737, allocations: 79.81 kB / 433.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2737, allocations: 0 / 433.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.2738, allocations: 39.89 kB / 433.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.274, allocations: 11.28 kB / 433.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.2745, allocations: 226.3 kB / 433.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.2748, allocations: 0.6885 MB / 434.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.2749, allocations: 15.42 kB / 434.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2749, allocations: 0 / 434.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002579/0.2775, allocations: 0.9168 MB / 435.5 MB, free: 180 kB / 334.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: 6.550180749036372]