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.001424/0.001424, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001449/0.001449, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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.59/1.59, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 2.514e-06/2.514e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.327e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003518/0.003552, allocations: 1.496 MB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.004741, allocations: 482.6 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.004818, allocations: 4 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.004857, allocations: 3.938 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.004989, allocations: 19.78 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.00527, allocations: 39.89 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.005451, allocations: 75.66 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.005492, allocations: 192 / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.005762, allocations: 63.75 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.005856, allocations: 27.91 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.005882, allocations: 4 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.005945, allocations: 8 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.005965, allocations: 7.984 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.006017, allocations: 27.91 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.006191, allocations: 59.8 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.006198, allocations: 7.984 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006199, allocations: 0 / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006204, allocations: 0 / 274.5 MB, free: 15.49 MB / 266.7 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.0007575/0.006962, allocations: 322 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.007007, allocations: 11.98 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.007358, allocations: 32.86 kB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.007631, allocations: 125.7 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.007649, allocations: 4.375 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.007661, allocations: 384 / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.00796, allocations: 92.77 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007969, allocations: 192 / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.007984, allocations: 8.125 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.007989, allocations: 0 / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.008268, allocations: 59.88 kB / 275.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.008496, allocations: 127.1 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.008806, allocations: 99.81 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.009003, allocations: 50.53 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.009031, allocations: 4 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.009084, allocations: 42.5 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.009085, allocations: 0 / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006335/0.009718, allocations: 145.5 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.009816, allocations: 110.8 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.009962, allocations: 128.6 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.00999, allocations: 25.7 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.01006, allocations: 92.14 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.01011, allocations: 16.22 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.01016, allocations: 21.7 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.01039, allocations: 322.8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.01053, allocations: 27.97 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.01069, allocations: 50.48 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01099, allocations: 86.45 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01099, allocations: 0 / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003637/0.01135, allocations: 113.6 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01137, allocations: 4 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01138, allocations: 8.094 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.0114, allocations: 7.922 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01155, allocations: 23.91 kB / 276.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.01157, allocations: 0 / 276.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01167, allocations: 11.98 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01169, allocations: 4 kB / 276.6 MB, free: 13.12 MB / 266.7 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.0001191/0.0118, allocations: 109.8 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.01183, allocations: 11.95 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.01187, allocations: 11.95 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01188, allocations: 11.94 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01188, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01189, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01207, allocations: 121.3 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01207, allocations: 0 / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.0122, allocations: 19.97 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0122, allocations: 0 / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.01222, allocations: 4 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.01222, allocations: 3.938 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01222, allocations: 3.938 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.01264, allocations: 146.7 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.01266, allocations: 7.953 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01268, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.01278, allocations: 11.98 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.01285, allocations: 15.92 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01286, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.01295, allocations: 95.27 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01295, allocations: 8 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01316, allocations: 15.94 kB / 277.2 MB, free: 12.47 MB / 266.7 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.0001483/0.01331, allocations: 95.19 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.01368, allocations: 71.86 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01369, allocations: 0 / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.01385, allocations: 40.16 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.01404, allocations: 10.89 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.01466, allocations: 201.8 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.68e-05/0.01476, allocations: 71.33 kB / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.01481, allocations: 4.188 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.01486, allocations: 12.5 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01486, allocations: 0 / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Templates: time 0.004194/0.01905, allocations: 0.6185 MB / 278.3 MB, free: 11.29 MB / 266.7 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.5900312579469755]