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.001801/0.001801, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002305/0.002305, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.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 1.774e-06/1.774e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.776e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00251/0.002538, allocations: 1.484 MB / 326.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.003511, allocations: 481.2 kB / 327 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.003576, allocations: 8.906 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.003612, allocations: 6.047 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.00371, allocations: 23.81 kB / 327 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.003939, allocations: 39.31 kB / 327 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.004093, allocations: 80.86 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.004146, allocations: 7.672 kB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.004346, allocations: 48.06 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.004419, allocations: 26.78 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.00444, allocations: 4.562 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.004495, allocations: 14.14 kB / 327.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.004516, allocations: 15.19 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.004553, allocations: 21.91 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004704, allocations: 62.23 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.004709, allocations: 5.094 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00471, allocations: 0 / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.00472, allocations: 0 / 327.3 MB, free: 14.96 MB / 302.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.000657/0.005377, allocations: 317.5 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.005417, allocations: 13.55 kB / 327.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.005739, allocations: 34.98 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.006027, allocations: 124.9 kB / 327.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.006034, allocations: 1.188 kB / 327.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.00605, allocations: 3.203 kB / 327.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.006339, allocations: 89.73 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.006353, allocations: 4.703 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006367, allocations: 5.312 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006372, allocations: 4.906 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.00668, allocations: 58.91 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.006878, allocations: 127.5 kB / 328.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.007174, allocations: 97.41 kB / 328.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.007343, allocations: 58.17 kB / 328.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.007363, allocations: 0.9688 kB / 328.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.007403, allocations: 43.31 kB / 328.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 4.659e-06/0.007408, allocations: 3.984 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005902/0.007998, allocations: 140 kB / 328.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.008079, allocations: 113.2 kB / 328.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.008217, allocations: 132 kB / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.008239, allocations: 26.98 kB / 328.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.0083, allocations: 92.45 kB / 328.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.008334, allocations: 14.11 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.008382, allocations: 20.41 kB / 328.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.008546, allocations: 319.8 kB / 329.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.008696, allocations: 34.16 kB / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.008854, allocations: 51.22 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.009157, allocations: 84.27 kB / 329.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.009159, allocations: 0 / 329.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003774/0.009536, allocations: 111.5 kB / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.009554, allocations: 5.531 kB / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009559, allocations: 0 / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.009579, allocations: 5.734 kB / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.009733, allocations: 18.36 kB / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.00974, allocations: 1.766 kB / 329.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.009846, allocations: 15.61 kB / 329.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009856, allocations: 1.734 kB / 329.4 MB, free: 13.22 MB / 302.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.0001054/0.009962, allocations: 114.3 kB / 329.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.009983, allocations: 8.266 kB / 329.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.01002, allocations: 16.61 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01002, allocations: 5.062 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.01003, allocations: 2.047 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01003, allocations: 1.031 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.01016, allocations: 116.9 kB / 329.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01017, allocations: 4.906 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.0103, allocations: 22.3 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.0103, allocations: 2.156 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.01031, allocations: 2.438 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01032, allocations: 0.9375 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.01032, allocations: 5.031 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.01072, allocations: 142.9 kB / 329.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.01074, allocations: 11.69 kB / 329.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.01076, allocations: 6.047 kB / 329.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01087, allocations: 14.52 kB / 329.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.01093, allocations: 13.56 kB / 329.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01094, allocations: 2.422 kB / 329.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.01101, allocations: 108.2 kB / 330 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01101, allocations: 0 / 330 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.01122, allocations: 13.97 kB / 330 MB, free: 12.73 MB / 302.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.0001183/0.01134, allocations: 94.67 kB / 330.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.0117, allocations: 75.61 kB / 330.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0117, allocations: 0 / 330.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.01186, allocations: 34.77 kB / 330.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01204, allocations: 7.922 kB / 330.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.01257, allocations: 190.4 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.01264, allocations: 77.42 kB / 330.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.01269, allocations: 7.891 kB / 330.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.01273, allocations: 16.66 kB / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01273, allocations: 0 / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Templates: time 0.003235/0.01597, allocations: 0.6006 MB / 331.1 MB, free: 12.17 MB / 302.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.405287601053715]